#include "clang/Basic/TokenKinds.h"
#include "clang/Tooling/Syntax/BuildTree.h"
#include "clang/Tooling/Syntax/Tree.h"
#include "clang/Tooling/Syntax/Tokens.h"
#include "clang/Tooling/Syntax/TokenBufferTokenManager.h"
usingnamespaceclang;
class clang::syntax::FactoryImpl { … };
syntax::Leaf *clang::syntax::createLeaf(syntax::Arena &A,
TokenBufferTokenManager &TBTM,
tok::TokenKind K, StringRef Spelling) { … }
syntax::Leaf *clang::syntax::createLeaf(syntax::Arena &A,
TokenBufferTokenManager &TBTM,
tok::TokenKind K) { … }
namespace {
syntax::Tree *allocateTree(syntax::Arena &A, syntax::NodeKind Kind) { … }
}
syntax::Tree *clang::syntax::createTree(
syntax::Arena &A,
ArrayRef<std::pair<syntax::Node *, syntax::NodeRole>> Children,
syntax::NodeKind K) { … }
syntax::Node *clang::syntax::deepCopyExpandingMacros(syntax::Arena &A,
TokenBufferTokenManager &TBTM,
const syntax::Node *N) { … }
syntax::EmptyStatement *clang::syntax::createEmptyStatement(syntax::Arena &A, TokenBufferTokenManager &TBTM) { … }