Home
last modified time | relevance | path

Searched refs:ASTs (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-query/
H A DQuerySession.h26 QuerySession(llvm::ArrayRef<std::unique_ptr<ASTUnit>> ASTs) in QuerySession() argument
27 : ASTs(ASTs), PrintOutput(false), DiagOutput(true), in QuerySession()
31 llvm::ArrayRef<std::unique_ptr<ASTUnit>> ASTs; variable
H A DQuery.cpp181 for (auto &AST : QS.ASTs) { in run()
/llvm-project-15.0.7/clang/lib/Tooling/
H A DTooling.cpp598 std::vector<std::unique_ptr<ASTUnit>> &ASTs; member in __anon5f85be710411::ASTBuilderAction
601 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {} in ASTBuilderAction() argument
616 ASTs.push_back(std::move(AST)); in runInvocation()
623 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { in buildASTs() argument
624 ASTBuilderAction Action(ASTs); in buildASTs()
651 std::vector<std::unique_ptr<ASTUnit>> ASTs; in buildASTFromCodeWithArgs() local
652 ASTBuilderAction Action(ASTs); in buildASTFromCodeWithArgs()
677 assert(ASTs.size() == 1); in buildASTFromCodeWithArgs()
678 return std::move(ASTs[0]); in buildASTFromCodeWithArgs()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-query/
H A DQueryEngineTest.cpp30 ASTs[0] = std::move(a); in mkASTUnit2()
31 ASTs[1] = std::move(b); in mkASTUnit2()
32 return ArrayRef<std::unique_ptr<ASTUnit>>(ASTs); in mkASTUnit2()
43 std::unique_ptr<ASTUnit> ASTs[2]; member in QueryEngineTest
/llvm-project-15.0.7/clang-tools-extra/clang-query/tool/
H A DClangQuery.cpp132 std::vector<std::unique_ptr<ASTUnit>> ASTs; in main() local
134 switch (Tool.buildASTs(ASTs)) { in main()
149 QuerySession QS(ASTs); in main()
/llvm-project-15.0.7/clang/tools/clang-diff/
H A DClangDiff.cpp107 std::vector<std::unique_ptr<ASTUnit>> ASTs; in getAST() local
108 Tool.buildASTs(ASTs); in getAST()
109 if (ASTs.size() != Files.size()) in getAST()
111 return std::move(ASTs[0]); in getAST()
/llvm-project-15.0.7/llvm/docs/HistoricalNotes/
H A D2007-OriginalClangReadme.txt44 stuff (e.g. libsema builds ASTs). This depends on liblex.
50 program' ASTs depending on how they use the APIs. This depends
56 the same source location information embedded in ASTs. This
114 * -parse-ast builds ASTs, but doesn't print them. This is most
122 * -dump-cfg builds ASTs and then CFGs. CFGs are then pretty-printed.
124 * -view-cfg builds ASTs and then CFGs. CFGs are then visualized by
/llvm-project-15.0.7/llvm/docs/tutorial/
H A DBuildingAJIT4.rst2 Building a JIT: Extreme Laziness - Using LazyReexports to JIT from ASTs
19 directly from Kaleidoscope ASTs.
H A DBuildingAJIT3.rst191 `Next: Extreme Laziness -- Using Compile Callbacks to JIT directly from ASTs <BuildingAJIT4.html>`_
H A DBuildingAJIT1.rst87 representations (e.g. ASTs) to be added to the JIT.
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h76 const std::vector<llvm::SMTExprRef> &ASTs) { in fromNBinOp() argument
77 assert(!ASTs.empty()); in fromNBinOp()
82 llvm::SMTExprRef res = ASTs.front(); in fromNBinOp()
83 for (std::size_t i = 1; i < ASTs.size(); ++i) in fromNBinOp()
84 res = (Op == BO_LAnd) ? Solver->mkAnd(res, ASTs[i]) in fromNBinOp()
85 : Solver->mkOr(res, ASTs[i]); in fromNBinOp()
H A DSMTConstraintManager.h315 std::vector<llvm::SMTExprRef> ASTs; in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DToolingTest.cpp921 std::vector<std::unique_ptr<ASTUnit>> ASTs; in TEST() local
922 EXPECT_EQ(0, Tool.buildASTs(ASTs)); in TEST()
923 EXPECT_EQ(2u, ASTs.size()); in TEST()
944 std::vector<std::unique_ptr<ASTUnit>> ASTs; in TEST() local
945 Tool.buildASTs(ASTs); in TEST()
946 EXPECT_EQ(1u, ASTs.size()); in TEST()
/llvm-project-15.0.7/clang/docs/
H A DHowToSetupToolingForLLVM.rst156 * ``-ast-print`` --- Build ASTs and then pretty-print them.
157 * ``-ast-dump`` --- Build ASTs and then debug dump them.
162 * ``-ast-list`` --- Build ASTs and print the list of declaration node qualified
H A DIntroductionToTheClangAST.rst19 Clang's AST is different from ASTs produced by some other compilers in
H A DLibASTImporter.rst2 ASTImporter: Merging Clang ASTs
22 It may be convenient if we could view the set of the resulting ASTs as if they were one AST resulti…
89 First, we build two ASTs from virtual files; the content of the virtual files are synthesized from …
H A DRefactoringEngine.rst15 query ASTs for some particular nodes.
H A DHLSLSupport.rst28 HLSL ASTs do not need to be compatible between DXC and Clang. We do not expect
H A DClangTransformerTutorial.rst214 Rewriting ASTs to... Text?
/llvm-project-15.0.7/clang/include/clang/Tooling/
H A DTooling.h362 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dinstancetype.m110 // The ASTs don't model super property accesses well enough to get this right
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dinstancetype.mm110 // The ASTs don't model super property accesses well enough to get this right
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticASTKinds.td413 // Importing ASTs
462 // Importing Objective-C ASTs
533 // Importing C++ ASTs
/llvm-project-15.0.7/mlir/docs/Rationale/
H A DRationaleGenericDAGRewriter.md82 on ASTs. Clang has
85 doesn't perform general optimizations on its ASTs.
/llvm-project-15.0.7/clang/include/clang/AST/
H A DOperationKinds.def43 /// created only for explicit casts; dependent ASTs aren't required

12