Skip to content

Commit 80d45bf

Browse files
committed
DEV: Add heuristics to ignore AST nodes present inside inbuilt headers
1 parent e2e9981 commit 80d45bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lc/clang_ast_to_asr.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,9 @@ class ClangASTtoASRVisitor: public clang::RecursiveASTVisitor<ClangASTtoASRVisit
898898
"include/__stddef_max_align_t.h",
899899
"usr/include",
900900
"mambaforge/envs",
901+
"lib/gcc",
902+
"lib/clang",
903+
"micromamba-root/envs"
901904
};
902905
for( std::string& path: include_paths ) {
903906
if( file_path.find(path) != std::string::npos ) {

0 commit comments

Comments
 (0)