forked from enlightenment/edi
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:
parent
5523b4d449
commit
1b3f52fa81
|
@ -107,7 +107,7 @@ _clang_autosuggest_setup(Edi_Editor *editor)
|
||||||
editor->clang_idx = clang_createIndex(0, 0);
|
editor->clang_idx = clang_createIndex(0, 0);
|
||||||
editor->clang_unit = clang_parseTranslationUnit(editor->clang_idx, path,
|
editor->clang_unit = clang_parseTranslationUnit(editor->clang_idx, path,
|
||||||
args, argc, NULL, 0,
|
args, argc, NULL, 0,
|
||||||
clang_defaultEditingTranslationUnitOptions() | CXTranslationUnit_DetailedPreprocessingRecord);
|
clang_defaultEditingTranslationUnitOptions() | CXTranslationUnit_DetailedPreprocessingRecord | CXTranslationUnit_KeepGoing);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue