[ClangAstParser] Sets system includes threshold to 0 as default
Otherwise, the AST might be incomplete;
@@ -74,8 +74,9 @@ public class ParallelCodeParser extends CodeParser {
public static final DataKey<Integer> PARSING_NUM_THREADS = KeyFactory.integer("parsingNumThreads", 0)
.setLabel("Number of threads to use for parallel parsing");
- public static final DataKey<Integer> SYSTEM_INCLUDES_THRESHOLD = KeyFactory.integer("systemIncludesThreshold", 1)
- .setLabel("System Includes parsing threshold (0 parses all system include headers found)");
+ public static final DataKey<Integer> SYSTEM_INCLUDES_THRESHOLD = KeyFactory.integer("systemIncludesThreshold", 0)
+ .setLabel(
+ "System Includes parsing threshold (0 parses all, 1 improves perf. but may yield incomplete AST)");
public static final DataKey<Boolean> CONTINUE_ON_PARSING_ERRORS = KeyFactory.bool("continueOnParsingErrors")
.setLabel("Ignores parsing errors in C/C++ source code");
