Home
last modified time | relevance | path

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

/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.h186 buildASTFromCode(const Twine &Code, const Twine &FileName = "input.cc",
/external/clang/lib/Tooling/
DTooling.cpp470 buildASTFromCode(const Twine &Code, const Twine &FileName, in buildASTFromCode() function
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp4809 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;")); in TEST()
4835 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;")); in TEST()