/external/llvm-project/clang/unittests/Analysis/ |
D | ExprMutationAnalyzerTest.cpp | 41 std::unique_ptr<ASTUnit> buildASTFromCode(const Twine &Code) { in buildASTFromCode() function 109 const auto AST = buildASTFromCode("void f() { int x; x; }"); in TEST() 126 const auto AST = buildASTFromCode("void f() { int x; " + ModExpr + "; }"); in TEST_P() 135 const auto AST = buildASTFromCode("void f() { int x; " + ModExpr + "; }"); in TEST_P() 166 buildASTFromCode("void f() { int y = 0, x; " + ModExpr + "; }"); in TEST_P() 178 buildASTFromCode("void f() { int y = 0, x; " + ModExpr + "; }"); in TEST_P() 189 buildASTFromCode("void f() { int y = 0, x; " + ModExpr + "; }"); in TEST_P() 199 buildASTFromCode("void f() { int y = 0, x; " + ModExpr + "; }"); in TEST_P() 211 const auto AST = buildASTFromCode("struct Base {void nonconst(); };" in TEST() 227 const auto AST = buildASTFromCode("void f() { int x; " + ModExpr + "; }"); in TEST_P() [all …]
|
D | CloneDetectionTest.cpp | 56 clang::tooling::buildASTFromCode("void foo1(int &a1) { a1++; }\n" in TEST()
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTTraverserTest.cpp | 161 auto AST = buildASTFromCode(R"cpp( in TEST() 283 auto AST = buildASTFromCode(R"cpp( in TEST() 636 auto AST = buildASTFromCode(R"cpp( in TEST() 677 auto AST = buildASTFromCode(R"cpp( in TEST() 718 auto AST = buildASTFromCode(R"cpp( in TEST() 1066 auto AST = buildASTFromCode(R"cpp( in TEST() 1452 auto AST = buildASTFromCode(R"cpp( in TEST()
|
D | ASTContextParentMapTest.cpp | 85 tooling::buildASTFromCode("struct foo { int bar; };", "foo.cpp", in TEST()
|
D | SourceLocationTest.cpp | 903 auto AST = tooling::buildASTFromCode(Example.code()); in TEST()
|
/external/clang/unittests/AST/ |
D | PostOrderASTVisitor.cpp | 76 auto ASTUnit = tooling::buildASTFromCode( in TEST() 101 auto ASTUnit = tooling::buildASTFromCode( in TEST()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersInternalTest.cpp | 142 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/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersInternalTest.cpp | 134 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;")); in TEST() 160 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;")); in TEST() 168 clang::tooling::buildASTFromCode("struct { int *foo; };"); in TEST()
|
D | ASTMatchersNodeTest.cpp | 2234 auto astUnit = tooling::buildASTFromCode(SourceCode); in TEST()
|
/external/llvm-project/clang-tools-extra/unittests/clang-query/ |
D | QueryEngineTest.cpp | 37 : S(mkASTUnit2(buildASTFromCode("void foo1(void) {}\nvoid foo2(void) {}", in QueryEngineTest() 39 buildASTFromCode("void bar1(void) {}\nvoid bar2(void) {}", in QueryEngineTest()
|
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
D | TraversalScope.cpp | 27 auto AST = tooling::buildASTFromCode( in TEST()
|
/external/llvm-project/clang/unittests/Rewrite/ |
D | RewriterTest.cpp | 29 AST = tooling::buildASTFromCode(Code); in RangeTypeTest()
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 120 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/llvm-project/clang/docs/ |
D | LibASTImporter.rst | 93 std::unique_ptr<ASTUnit> ToUnit = buildASTFromCode( 95 std::unique_ptr<ASTUnit> FromUnit = buildASTFromCode( 221 std::unique_ptr<ASTUnit> ToUnit = buildASTFromCode( 223 std::unique_ptr<ASTUnit> FromUnit = buildASTFromCode( 291 std::unique_ptr<ASTUnit> ToUnit = buildASTFromCode( 302 std::unique_ptr<ASTUnit> FromUnit = buildASTFromCode( 420 std::unique_ptr<ASTUnit> ToUnit = buildASTFromCode( 433 std::unique_ptr<ASTUnit> FromUnit = buildASTFromCode(
|
/external/llvm-project/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 131 TEST(buildASTFromCode, FindsClassDecl) { in TEST() argument 132 std::unique_ptr<ASTUnit> AST = buildASTFromCode("class X;"); in TEST() 136 AST = buildASTFromCode("class Y;"); in TEST() 141 TEST(buildASTFromCode, ReportsErrors) { in TEST() argument
|
D | SourceCodeBuildersTest.cpp | 54 auto AstUnit = buildASTFromCode(wrapSnippet(StatementCode)); in matchStmt()
|
D | RangeSelectorTest.cpp | 44 auto ASTUnit = tooling::buildASTFromCode(Code); in matchCode()
|
/external/llvm-project/clang/unittests/StaticAnalyzer/ |
D | RangeSetTest.cpp | 58 std::unique_ptr<ASTUnit> AST = tooling::buildASTFromCode("struct foo;");
|
/external/clang/include/clang/Tooling/ |
D | Tooling.h | 189 buildASTFromCode(const Twine &Code, const Twine &FileName = "input.cc",
|
/external/llvm-project/clang/unittests/CrossTU/ |
D | CrossTranslationUnitTest.cpp | 80 tooling::buildASTFromCode(SourceText, SourceFileName); in HandleTranslationUnit()
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | Tooling.h | 205 buildASTFromCode(StringRef Code, StringRef FileName = "input.cc",
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 493 buildASTFromCode(const Twine &Code, const Twine &FileName, in buildASTFromCode() function
|
/external/llvm-project/clang/lib/Tooling/ |
D | Tooling.cpp | 612 buildASTFromCode(StringRef Code, StringRef FileName, in buildASTFromCode() function
|
/external/llvm-project/clang-tools-extra/unittests/clang-doc/ |
D | SerializeTest.cpp | 66 auto ASTUnit = clang::tooling::buildASTFromCode(Code); in ExtractInfosFromCode()
|