How to stop clang from analysing and building AST node for system header

  abstract-syntax-tree, c++, clang, llvm

I’m using clang::tooling::buildASTFromCodeWithArgs() method to build AST from given c++ header and source files.
How could I stop clang from entering and building AST for system headers I have in files im analysing e.g. #include <string> ?

Source: Windows Questions C++

LEAVE A COMMENT