Searched refs:ToDC (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/clang/lib/AST/ |
D | ExternalASTMerger.cpp | 201 if (auto *ToDC = dyn_cast<DeclContext>(To)) { in Imported() local 205 << " imported (DeclContext*)" << (void*)ToDC in Imported() 221 Parent.ForceRecordOrigin(ToDC, FromOrigins.at(FromDC)); in Imported() 228 Parent.MaybeRecordOrigin(ToDC, {FromDC, &getFromContext()}); in Imported() 369 void ExternalASTMerger::MaybeRecordOrigin(const DeclContext *ToDC, in MaybeRecordOrigin() argument 374 LookupSameContext(Origin.AST->getTranslationUnitDecl(), ToDC, Reverse); in MaybeRecordOrigin() 377 RecordOriginImpl(ToDC, Origin, Importer); in MaybeRecordOrigin() 386 void ExternalASTMerger::ForceRecordOrigin(const DeclContext *ToDC, in ForceRecordOrigin() argument 388 RecordOriginImpl(ToDC, Origin, ImporterForOrigin(*Origin.AST)); in ForceRecordOrigin() 391 void ExternalASTMerger::RecordOriginImpl(const DeclContext *ToDC, DCOrigin Origin, in RecordOriginImpl() argument [all …]
|
D | ASTImporter.cpp | 306 DeclContext *ToDC = ToD->getDeclContext(); in addDeclToContexts() local 311 ToDC->addDeclInternal(ToD); in addDeclToContexts() 314 if (ToDC != ToLexicalDC && FromLexicalDC->containsDeclAndLoad(FromD)) { in addDeclToContexts() 328 ToDC->makeDeclVisibleInContext(ToNamed); in addDeclToContexts() 399 Decl *From, DeclContext *&ToDC, DeclContext *&ToLexicalDC); 1829 DeclContext *ToDC = *ToDCOrErr; in ImportDeclContext() local 1838 assert(ToDC == ToD->getLexicalDeclContext() && ToDC->containsDecl(ToD)); in ImportDeclContext() 1840 ToDC->removeDecl(ToD); in ImportDeclContext() 1844 ToDC->addDeclInternal(ToD); in ImportDeclContext() 1853 Decl *FromD, DeclContext *&ToDC, DeclContext *&ToLexicalDC) { in ImportDeclContext() argument [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | ExternalASTMerger.h | 163 void MaybeRecordOrigin(const DeclContext *ToDC, DCOrigin Origin); 166 void ForceRecordOrigin(const DeclContext *ToDC, DCOrigin Origin); 185 void RecordOriginImpl(const DeclContext *ToDC, DCOrigin Origin,
|
/external/clang/lib/Sema/ |
D | SemaAccess.cpp | 266 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() local 267 if (FromDC == ToDC) return true; in MightInstantiateTo() 268 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaAccess.cpp | 265 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() local 266 if (FromDC == ToDC) return true; in MightInstantiateTo() 267 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 6148 DeclContext *ToDC = cast_or_null<DeclContext>(Import(cast<Decl>(FromDC))); in ImportContext() local 6149 if (!ToDC) in ImportContext() 6154 if (RecordDecl *ToRecord = dyn_cast<RecordDecl>(ToDC)) { in ImportContext() 6164 } else if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(ToDC)) { in ImportContext() 6174 } else if (ObjCInterfaceDecl *ToClass = dyn_cast<ObjCInterfaceDecl>(ToDC)) { in ImportContext() 6184 } else if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(ToDC)) { in ImportContext() 6196 return ToDC; in ImportContext()
|
/external/toolchain-utils/android_bench_suite/panorama_input/ |
D | test_003.ppm | 9457 …Y(6R")E.J=Y);W''C8S#B]-`{Mk�X=X*[vI6Q&;V*.I 7R)3M%,F*E6Q&7R)a|SOi>Je:ToDC^3(H/OBa0Po>Hg8Ba3…
|