/external/llvm-project/clang/lib/AST/ |
D | ExternalASTMerger.cpp | 34 typedef std::pair<Source<NamedDecl *>, ASTImporter *> Candidate; 46 ASTImporter &ReverseImporter) { in LookupSameContext() 99 class LazyASTImporter : public ASTImporter { 102 ASTImporter Reverse; 117 : ASTImporter(ToContext, ToFileManager, S.getASTContext(), in LazyASTImporter() 128 return ASTImporter::ImportImpl(FromD); in ImportImpl() 167 return ASTImporter::ImportImpl(FromD); in ImportImpl() 171 ASTImporter &OtherImporter = Parent.ImporterForOrigin(PersistentCtx); in ImportImpl() 244 ASTImporter &GetReverse() { return Reverse; } in GetReverse() 257 ASTImporter &ExternalASTMerger::ImporterForOrigin(ASTContext &OriginContext) { in ImporterForOrigin() [all …]
|
D | ASTImporter.cpp | 143 ASTImporter &Importer; 336 explicit ASTNodeImporter(ASTImporter &Importer) : Importer(Importer) {} in ASTNodeImporter() 1887 ASTImporter &Importer) { in setTypedefNameForAnonDecl() 2103 getStructuralEquivalenceKind(const ASTImporter &Importer) { in getStructuralEquivalenceKind() 3554 ASTImporter::getFieldIndex(D) != in VisitFieldDecl() 3555 ASTImporter::getFieldIndex(FoundField)) in VisitFieldDecl() 3635 ASTImporter::getFieldIndex(D) != in VisitIndirectFieldDecl() 3636 ASTImporter::getFieldIndex(FoundField)) in VisitIndirectFieldDecl() 7968 ASTImporter::ASTImporter(ASTContext &ToContext, FileManager &ToFileManager, in ASTImporter() function in ASTImporter 7985 ASTImporter::~ASTImporter() = default; [all …]
|
D | CMakeLists.txt | 23 ASTImporter.cpp
|
/external/llvm-project/clang/unittests/AST/ |
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() 213 ASTImporter &Importer, NodeType Node) { in importNode() 259 ASTImporter Importer(ToCtx, ToAST->getFileManager(), FromCtx, in testImport() [all …]
|
D | ASTImporterFixtures.cpp | 44 ASTImporter::ODRHandlingType ODRHandling) in TU() 58 return new ASTImporter(ToContext, ToFileManager, FromContext, in TU()
|
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() 3083 Optional<unsigned> ToIndex = ASTImporter::getFieldIndex(ToField); in TEST_P() [all …]
|
D | ASTImporterODRStrategiesTest.cpp | 236 template <typename TypeParam, ASTImporter::ODRHandlingType ODRHandlingParam> 388 ODRViolation<TypeParam, ASTImporter::ODRHandlingType::ODRHandlingParam>; \
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | CxxModuleHandler.h | 35 clang::ASTImporter *m_importer = nullptr; 50 CxxModuleHandler(clang::ASTImporter &importer, clang::ASTContext *target);
|
D | ClangASTImporter.h | 187 struct ASTImporterDelegate : public clang::ASTImporter { 190 : clang::ASTImporter(*target_ctx, master.m_file_manager, *source_ctx, in ASTImporterDelegate() 193 setODRHandling(clang::ASTImporter::ODRHandlingType::Liberal); in ASTImporterDelegate()
|
D | CxxModuleHandler.cpp | 19 CxxModuleHandler::CxxModuleHandler(ASTImporter &importer, ASTContext *target) in CxxModuleHandler() 172 T *createDecl(ASTImporter &importer, Decl *from_d, Args &&... args) { in createDecl()
|
D | ClangASTImporter.cpp | 892 return ASTImporter::ImportImpl(From); in ImportImpl() 905 ASTImporter::Imported(from, to); in ImportDefinitionTo() 1042 return clang::ASTImporter::Imported(from, to); in Imported() 1099 direct_completer->ASTImporter::Imported(origin.decl, to); in Imported()
|
/external/llvm-project/clang/include/clang/AST/ |
D | ExternalASTMerger.h | 58 typedef std::vector<std::unique_ptr<ASTImporter>> ImporterVector; 179 ASTImporter &ImporterForOrigin(ASTContext &OriginContext); 186 ASTImporter &importer);
|
D | ASTImporter.h | 90 class ASTImporter { 320 ASTImporter(ASTContext &ToContext, FileManager &ToFileManager, 325 virtual ~ASTImporter();
|
D | APValue.h | 242 friend class ASTImporter;
|
/external/clang/include/clang/AST/ |
D | ASTImporter.h | 39 class ASTImporter { 94 ASTImporter(ASTContext &ToContext, FileManager &ToFileManager, 98 virtual ~ASTImporter();
|
/external/llvm-project/clang/include/clang/CrossTU/ |
D | CrossTranslationUnit.h | 29 class ASTImporter; variable 201 ASTImporter &getOrCreateASTImporter(ASTUnit *Unit); 214 llvm::DenseMap<TranslationUnitDecl *, std::unique_ptr<ASTImporter>>;
|
/external/llvm-project/clang/docs/ |
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 …]
|
D | InternalsManual.rst | 1450 The ASTImporter 1453 The ``ASTImporter`` class imports nodes of an ``ASTContext`` into another 1454 ``ASTContext``. Please refer to the document :doc:`ASTImporter: Merging Clang 1510 ASTImporter, e.g. the ``clang::Sema`` class uses it also. 1542 The early version of the ``ASTImporter``'s merge mechanism squashed the 1562 ``ASTImporter`` uses the latter mechanism. We do import all function 1648 ``ASTImporter::ImportedDecls``. Whenever we create a node then we immediately 1692 ``ASTImporter::ImportDeclErrors`` and the ones which are associated with the 1694 be several ASTImporter objects which import into the same "to" context but from 1815 shared amongst the different ``ASTImporter`` instances if they happen to import [all …]
|
/external/clang/lib/AST/ |
D | CMakeLists.txt | 9 ASTImporter.cpp
|
D | ASTImporter.cpp | 31 ASTImporter &Importer; 34 explicit ASTNodeImporter(ASTImporter &Importer) : Importer(Importer) { } in ASTNodeImporter() 261 ASTImporter &ImporterRef = Importer; in ImportArray() 271 ASTImporter &ImporterRef = Importer; in ImportArrayChecked() 6035 ASTImporter::ASTImporter(ASTContext &ToContext, FileManager &ToFileManager, in ASTImporter() function in ASTImporter 6046 ASTImporter::~ASTImporter() { } in ~ASTImporter() 6048 QualType ASTImporter::Import(QualType FromT) { in Import() 6072 TypeSourceInfo *ASTImporter::Import(TypeSourceInfo *FromTSI) { in Import() 6086 Decl *ASTImporter::GetAlreadyImportedOrNull(Decl *FromD) { in GetAlreadyImportedOrNull() 6097 Decl *ASTImporter::Import(Decl *FromD) { in Import() [all …]
|
/external/llvm-project/clang/lib/Frontend/ |
D | ASTMerge.cpp | 56 ASTImporter Importer(CI.getASTContext(), CI.getFileManager(), in ExecuteAction()
|
/external/clang/lib/Frontend/ |
D | ASTMerge.cpp | 55 ASTImporter Importer(CI.getASTContext(), in ExecuteAction()
|
/external/llvm-project/clang/lib/CrossTU/ |
D | CrossTranslationUnit.cpp | 698 ASTImporter &Importer = getOrCreateASTImporter(Unit); in importDefinitionImpl() 746 ASTImporter & 754 ASTImporter *NewImporter = new ASTImporter( in getOrCreateASTImporter()
|
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/AST/ |
D | BUILD.gn | 50 "ASTImporter.cpp",
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 77 ASTImporter Importer(ToCtx, ToAST->getFileManager(), in testImport()
|