The C Interface to Clang provides a relatively small API that exposes facilities for parsing source code into an abstract syntax tree (AST), loading already-parsed ASTs, traversing the AST, associating physical source locations with elements within the AST, and other facilities that support Clang-based development tools. | clang.llvm.org
873 Posts, 59 Following, 1.08K Followers · C++, compilers, and programming languages. Library developer @ think-cell, chair for std::ranges @ C++ standardization committee.| Fosstodon
Writing a standalone tool¶| clang.llvm.org