[ClangAstParser] Experiment: not filtering includes to add to TUs
@@ -163,14 +163,14 @@ public class RootParser extends AClangNodeParser<App> {
// Only add includes that are not in the line number range of the declarations
if (!uniqueIncludes.isEmpty()) {
- Set<Integer> lineNumbers = getLineNumbers(declNodes);
+ // Set<Integer> lineNumbers = getLineNumbers(declNodes);
for (Include include : uniqueIncludes) {
// Only add include if line number of the include is not contained in declaration numbers
- if (lineNumbers.contains(include.getLine())) {
- continue;
- }
+ // if (lineNumbers.contains(include.getLine())) {
+ // continue;
+ // }
// Check if include was not already added
// if (addedIncludes.contains(include.toString())) {
