Home
last modified time | relevance | path

Searched refs:buildASTFromCode (Results 1 – 5 of 5) sorted by relevance

/external/clang/unittests/AST/
DPostOrderASTVisitor.cpp76 auto ASTUnit = tooling::buildASTFromCode( in TEST()
101 auto ASTUnit = tooling::buildASTFromCode( in TEST()
/external/clang/unittests/ASTMatchers/
DASTMatchersInternalTest.cpp142 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;")); in TEST()
168 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;")); in TEST()
176 clang::tooling::buildASTFromCode("struct { int *foo; };"); in TEST()
/external/clang/unittests/Tooling/
DToolingTest.cpp120 TEST(buildASTFromCode, FindsClassDecl) { in TEST() argument
121 std::unique_ptr<ASTUnit> AST = buildASTFromCode("class X;"); in TEST()
125 AST = buildASTFromCode("class Y;"); in TEST()
/external/clang/include/clang/Tooling/
DTooling.h189 buildASTFromCode(const Twine &Code, const Twine &FileName = "input.cc",
/external/clang/lib/Tooling/
DTooling.cpp493 buildASTFromCode(const Twine &Code, const Twine &FileName, in buildASTFromCode() function