| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExternalASTMerger.cpp | 99 class LazyASTImporter : public ASTImporter { 102 ASTImporter Reverse; 128 return ASTImporter::ImportImpl(FromD); in ImportImpl() 167 return ASTImporter::ImportImpl(FromD); in ImportImpl() 291 ASTImporter &Reverse = in ForEachMatchingDC() 310 ForEachMatchingDC(Tag, [&](ASTImporter &Forward, ASTImporter &Reverse, in CompleteType() 328 Interface, [&](ASTImporter &Forward, ASTImporter &Reverse, in CompleteType() 349 [&](ASTImporter &Forward, ASTImporter &Reverse, in CanComplete() 488 [&](ASTImporter &Forward, ASTImporter &Reverse, in FindExternalVisibleDeclsByName() 509 ASTImporter *Importer = C.second; in FindExternalVisibleDeclsByName() [all …]
|
| H A D | ASTImporter.cpp | 183 ASTImporter &Importer; 3720 ASTImporter::getFieldIndex(D) != in VisitFieldDecl() 3721 ASTImporter::getFieldIndex(FoundField)) in VisitFieldDecl() 3807 ASTImporter::getFieldIndex(D) != in VisitIndirectFieldDecl() 3808 ASTImporter::getFieldIndex(FoundField)) in VisitIndirectFieldDecl() 8387 ASTImporter::ASTImporter(ASTContext &ToContext, FileManager &ToFileManager, in ASTImporter() function in ASTImporter 8404 ASTImporter::~ASTImporter() = default; 8428 ASTImporter::FoundDeclsTy 8461 void ASTImporter::AddToLookupTable(Decl *ToD) { in AddToLookupTable() 8583 ASTImporter &Importer; [all …]
|
| H A D | CMakeLists.txt | 28 ASTImporter.cpp
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterFixtures.h | 33 class ASTImporter; variable 92 typedef std::function<ASTImporter *( 98 ASTImporter::ODRHandlingType ODRHandling; 115 std::unique_ptr<ASTImporter> Importer; 117 ASTImporter::ODRHandlingType ODRHandling; 121 ASTImporter::ODRHandlingType ODRHandling = 122 ASTImporter::ODRHandlingType::Conservative); 195 : ODRHandling(ASTImporter::ODRHandlingType::Conservative) {} in ASTImporterTestBase() 259 ASTImporter Importer(ToCtx, ToAST->getFileManager(), FromCtx, in testImport() 378 llvm::DenseMap<ImporterKey, std::unique_ptr<ASTImporter>> Importers; in testImportSequence() [all …]
|
| H A D | ASTImporterFixtures.cpp | 44 ASTImporter::ODRHandlingType ODRHandling) in TU() 58 return new ASTImporter(ToContext, ToFileManager, FromContext, in TU()
|
| H A D | ASTImporterODRStrategiesTest.cpp | 236 template <typename TypeParam, ASTImporter::ODRHandlingType ODRHandlingParam> 388 ODRViolation<TypeParam, ASTImporter::ODRHandlingType::ODRHandlingParam>; \
|
| H A D | ASTImporterTest.cpp | 81 struct RedirectingImporter : public ASTImporter { 82 using ASTImporter::ASTImporter; 88 return ASTImporter::ImportImpl(FromD); in ImportImpl() 96 return ASTImporter::ImportImpl(FromD); in ImportImpl() 162 ASTImporter::ImportPathTy path; in TEST_P() 168 ASTImporter::ImportPathTy path; in TEST_P() 179 ASTImporter::ImportPathTy path; in TEST_P() 194 ASTImporter::ImportPathTy path; in TEST_P() 213 ASTImporter::ImportPathTy path; in TEST_P() 5420 struct ASTImporterWithFakeErrors : ASTImporter { [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ExternalASTMerger.h | 58 typedef std::vector<std::unique_ptr<ASTImporter>> ImporterVector; 179 ASTImporter &ImporterForOrigin(ASTContext &OriginContext); 186 ASTImporter &importer);
|
| H A D | ASTImporter.h | 62 class ASTImporter { 288 ASTImporter(ASTContext &ToContext, FileManager &ToFileManager, 293 virtual ~ASTImporter();
|
| H A D | APValue.h | 254 friend class ASTImporter;
|
| H A D | Expr.h | 137 friend class ASTImporter; // Sets dependence dircetly. variable
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CxxModuleHandler.h | 35 clang::ASTImporter *m_importer = nullptr; 50 CxxModuleHandler(clang::ASTImporter &importer, clang::ASTContext *target);
|
| H A D | ClangASTImporter.h | 261 struct ASTImporterDelegate : public clang::ASTImporter { 264 : clang::ASTImporter(*target_ctx, main.m_file_manager, *source_ctx, in ASTImporterDelegate() 277 setODRHandling(clang::ASTImporter::ODRHandlingType::Liberal); in ASTImporterDelegate()
|
| H A D | CxxModuleHandler.cpp | 20 CxxModuleHandler::CxxModuleHandler(ASTImporter &importer, ASTContext *target) in CxxModuleHandler() 177 T *createDecl(ASTImporter &importer, Decl *from_d, Args &&... args) { in createDecl()
|
| H A D | ClangASTImporter.cpp | 891 return ASTImporter::ImportImpl(From); in ImportImpl() 904 ASTImporter::Imported(from, to); in ImportDefinitionTo() 1030 return clang::ASTImporter::Imported(from, to); in Imported() 1087 direct_completer->ASTImporter::Imported(origin.decl, to); in Imported()
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | LibASTImporter.rst | 2 ASTImporter: Merging Clang ASTs 5 The ``ASTImporter`` class is part of Clang's core library, the AST library. 23 ``ASTImporter`` provides the way to copy types or declarations from one ``ASTContext`` to another. 26 Existing clients of the ``ASTImporter`` library are Cross Translation Unit (CTU) static analysis an… 88 Let's create a tool which uses the ASTImporter class! 116 ASTImporter Importer(ToUnit->getASTContext(), ToUnit->getFileManager(), 189 ASTImporter Importer( .... /*MinimalImport=*/false); 198 #include "clang/AST/ASTImporter.h" 234 ASTImporter Importer(ToUnit->getASTContext(), ToUnit->getFileManager(), 318 ASTImporter Importer(ToUnit->getASTContext(), ToUnit->getFileManager(), [all …]
|
| H A D | InternalsManual.rst | 2011 The ASTImporter 2014 The ``ASTImporter`` class imports nodes of an ``ASTContext`` into another 2015 ``ASTContext``. Please refer to the document :doc:`ASTImporter: Merging Clang 2071 ASTImporter, e.g. the ``clang::Sema`` class uses it also. 2103 The early version of the ``ASTImporter``'s merge mechanism squashed the 2123 ``ASTImporter`` uses the latter mechanism. We do import all function 2209 ``ASTImporter::ImportedDecls``. Whenever we create a node then we immediately 2253 ``ASTImporter::ImportDeclErrors`` and the ones which are associated with the 2398 of the ``ASTImporter`` class. This way, LLDB can reuse Clang's parsing 2400 DWARF). From the view of the ``ASTImporter`` this means both the "to" and the [all …]
|
| /llvm-project-15.0.7/clang/include/clang/CrossTU/ |
| H A D | CrossTranslationUnit.h | 30 class ASTImporter; variable 210 ASTImporter &getOrCreateASTImporter(ASTUnit *Unit); 223 llvm::DenseMap<TranslationUnitDecl *, std::unique_ptr<ASTImporter>>;
|
| /llvm-project-15.0.7/clang/lib/CrossTU/ |
| H A D | CrossTranslationUnit.cpp | 734 ASTImporter &Importer = getOrCreateASTImporter(Unit); in importDefinitionImpl() 781 ASTImporter & 789 ASTImporter *NewImporter = new ASTImporter( in getOrCreateASTImporter()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ASTMerge.cpp | 56 ASTImporter Importer(CI.getASTContext(), CI.getFileManager(), in ExecuteAction()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/AST/ |
| H A D | BUILD.gn | 57 "ASTImporter.cpp",
|