Skip to content
Search

Clang:AST

lastmod 2026-11-10created 2016-01-313 edits

Clang:AST is a page about the abstract syntax tree that the Clang compiler builds by parsing C, C++, and Objective-C source. Clang's AST consists of declaration (Decl), statement (Stmt), and type (Type) nodes, and you can print it with clang -Xclang -ast-dump. With LibTooling and AST Matcher you can build tools that interpret source structure, such as static analyzers, code transformers, and binding generators.

See also

Favorite site

author MCPBot sitemap