| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclBase.cpp | 1434 if (getPrimaryContext() != this) in Encloses() 1435 return getPrimaryContext()->Encloses(DC); in Encloses() 1439 DC->getPrimaryContext() == this) in Encloses() 1445 if (getPrimaryContext() != this) in LexicallyEncloses() 1446 return getPrimaryContext()->LexicallyEncloses(DC); in LexicallyEncloses() 1450 DC->getPrimaryContext() == this) in LexicallyEncloses() 1464 DeclContext *DeclContext::getPrimaryContext() { in getPrimaryContext() function in DeclContext 1769 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr; in removeDecl() 1813 ND->getDeclContext()->getPrimaryContext()-> in addDecl() 1821 ND->getDeclContext()->getPrimaryContext()-> in addDeclInternal() [all …]
|
| H A D | ExternalASTMerger.cpp | 81 return cast<DeclContext>(SearchResultDecl)->getPrimaryContext(); in LookupSameContext() 208 cast<DeclContext>(From)->getPrimaryContext()); in Imported() 228 ToTag->getPrimaryContext()->setMustBuildLookupTable(); in Imported() 235 ToContainer->getPrimaryContext()->setMustBuildLookupTable(); in Imported()
|
| H A D | ASTDumper.cpp | 57 const DeclContext *Primary = DC->getPrimaryContext(); in dumpLookups()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclLookups.h | 76 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in lookups() 90 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in noload_lookups()
|
| H A D | DeclBase.h | 2243 return DC && this->getPrimaryContext() == DC->getPrimaryContext(); 2274 DeclContext *getPrimaryContext(); 2275 const DeclContext *getPrimaryContext() const { 2276 return const_cast<DeclContext*>(this)->getPrimaryContext(); 2678 assert(this == getPrimaryContext() &&
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTConsumers.cpp | 91 if (DC == DC->getPrimaryContext()) in print() 95 << DC->getPrimaryContext() << "\n"; in print()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | InterpreterUtils.cpp | 86 PrimaryWithin = Within->getPrimaryContext(); in LookupNamed()
|
| H A D | IncrementalParser.cpp | 156 if (StoredDeclsMap *Map = MostRecentTU->getPrimaryContext()->getLookupPtr()) { in CleanUpPTU()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CxxModuleHandler.cpp | 149 return DC->getPrimaryContext(); in getEqualLocalDeclContext()
|
| H A D | ClangASTImporter.cpp | 1390 to_tag_decl->getPrimaryContext()->setMustBuildLookupTable(); in Imported()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 190 Common = Common->getPrimaryContext(); in addUsingDirective() 205 DC->getPrimaryContext(), in getNamespacesFor() 2947 DeclContext *PrimaryCtx = Ctx->getPrimaryContext(); in CollectEnclosingNamespace() 4158 if (Visited.visitedContext(Ctx->getPrimaryContext())) in lookupInDeclContext() 4917 for (DeclContext *DC = Start->getPrimaryContext(); DC != nullptr; in buildContextChain() 4922 Chain.push_back(DC->getPrimaryContext()); in buildContextChain()
|
| H A D | SemaAccess.cpp | 284 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() 285 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); in MightInstantiateTo()
|
| H A D | SemaOpenACCClause.cpp | 2243 FD->getLexicalDeclContext()->getPrimaryContext()) != DC) { in CheckDeclareClause() 2261 Var->getLexicalDeclContext()->getPrimaryContext()) != DC) { in CheckDeclareClause()
|
| H A D | Sema.cpp | 2316 Ctx = Ctx->getPrimaryContext(); in getScopeForContext() 2322 if (Ctx == Entity->getPrimaryContext()) in getScopeForContext()
|
| H A D | SemaDecl.cpp | 580 DC = DC->getPrimaryContext(); in synthesizeCurrentNestedNameSpecifier() 600 DC = DC->getPrimaryContext(); in findRecordWithDependentBasesOfEnclosingMethod() 1580 DeclContext *TargetDC = DC->getPrimaryContext(); in getScopeForDeclContext() 1583 if (ScopeDC->getPrimaryContext() == TargetDC) in getScopeForDeclContext()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 3334 return TU->getPrimaryContext(); in getPrimaryContextForMerging() 4417 auto *DC = cast<DeclContext>(D)->getPrimaryContext(); in loadDeclUpdateRecords() 4430 auto *DC = cast<DeclContext>(D)->getPrimaryContext(); in loadDeclUpdateRecords() 4444 auto *DC = cast<DeclContext>(D)->getPrimaryContext(); in loadDeclUpdateRecords()
|
| H A D | ASTWriter.cpp | 4636 assert(DC == DC->getPrimaryContext() && "only primary DC has lookup table"); in GenerateNameLookupTable() 4838 UpdatedDeclContexts.insert(DC->getPrimaryContext()); in WriteDeclContextVisibleBlock() 4843 StoredDeclsMap *Map = DC->getPrimaryContext()->buildLookup(); in WriteDeclContextVisibleBlock() 4887 if (DC->getPrimaryContext() != DC) in WriteDeclContextVisibleBlock() 6457 UpdatedDeclContexts.insert(RD->getPrimaryContext()); in WriteDeclUpdatesBlocks() 7489 assert(DC == DC->getPrimaryContext() && "added to non-primary context"); in AddedVisibleDecl()
|
| H A D | ASTWriterDecl.cpp | 559 Writer.UpdatedDeclContexts.insert(NS->getPrimaryContext()); in VisitDecl() 1563 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
|
| H A D | ASTReader.cpp | 8551 assert(DC->hasExternalVisibleStorage() && DC == DC->getPrimaryContext() && in FindExternalVisibleDeclsByName()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 9801 {"_ZN5clang11DeclContext17getPrimaryContextEv", "clang::DeclContext::getPrimaryContext()"},
|