clang: Don't bail on first error

Report all errors in a file not just up to the first critical
This commit is contained in:
Andy Williams 2017-10-19 16:45:29 +01:00
parent 5523b4d449
commit 1b3f52fa81
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ _clang_autosuggest_setup(Edi_Editor *editor)
editor->clang_idx = clang_createIndex(0, 0);
editor->clang_unit = clang_parseTranslationUnit(editor->clang_idx, path,
args, argc, NULL, 0,
clang_defaultEditingTranslationUnitOptions() | CXTranslationUnit_DetailedPreprocessingRecord);
clang_defaultEditingTranslationUnitOptions() | CXTranslationUnit_DetailedPreprocessingRecord | CXTranslationUnit_KeepGoing);
}
static void