Skip to content

Commit b048308

Browse files
fix: Lift error limit to index more code (#356)
This causes indexing time to increase by about 80% for TUs where indexing didn't work earlier. Which seems bad, but otherwise code navigation doesn't just work.
1 parent 6d448ac commit b048308

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

indexer/Worker.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ void Worker::processTranslationUnit(SemanticAnalysisJobDetails &&job,
206206
args.push_back("-Wno-everything"); // Warnings aren't helpful.
207207
args.push_back("-working-directory");
208208
args.push_back(fileSystemOptions.WorkingDir);
209+
args.push_back("-ferror-limit=0"); // TODO: Add test for this
209210
// clang-format off
210211
// TODO(def: flag-passthrough, issue: https://github.com/sourcegraph/scip-clang/issues/23)
211212
// Support passing through CLI flags to Clang, similar to --extra-arg in lsif-clang

0 commit comments

Comments
 (0)