ΒΆsyntax::TranslationUnit* buildSyntaxTree(
    clang::syntax::Arena& A,
    clang::syntax::TokenBufferTokenManager& TBTM,
    clang::ASTContext& Context)

Description

Build a syntax tree for the main file. This usually covers the whole TranslationUnitDecl, but can be restricted by the ASTContext's traversal scope.

Declared at: clang/include/clang/Tooling/Syntax/BuildTree.h:26

Parameters

clang::syntax::Arena& A
clang::syntax::TokenBufferTokenManager& TBTM
clang::ASTContext& Context