Searched refs:getPrimaryContext (Results 1 - 13 of 13) sorted by relevance

/external/clang/include/clang/AST/
H A DDeclLookups.h72 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
93 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
H A DDependentDiagnostic.h178 = static_cast<DependentStoredDeclsMap*>(getPrimaryContext()->getLookupPtr());
H A DDeclBase.h1331 return DC && this->getPrimaryContext() == DC->getPrimaryContext();
1346 /// getPrimaryContext - There may be many different
1352 DeclContext *getPrimaryContext();
1353 const DeclContext *getPrimaryContext() const { function in class:clang::DeclContext
1354 return const_cast<DeclContext*>(this)->getPrimaryContext();
1742 assert(this == getPrimaryContext() &&
/external/clang/lib/AST/
H A DDeclBase.cpp982 if (getPrimaryContext() != this)
983 return getPrimaryContext()->Encloses(DC);
986 if (DC->getPrimaryContext() == this)
991 DeclContext *DeclContext::getPrimaryContext() { function in class:DeclContext
1259 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr;
1300 ND->getDeclContext()->getPrimaryContext()->
1308 ND->getDeclContext()->getPrimaryContext()->
1346 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC");
1411 const DeclContext *PrimaryContext = getPrimaryContext();
1473 DeclContext *PrimaryContext = getPrimaryContext();
[all...]
/external/clang/lib/Frontend/
H A DASTConsumers.cpp83 if (DC == DC->getPrimaryContext())
87 << DC->getPrimaryContext() << "\n";
/external/clang/lib/Sema/
H A DSema.cpp1106 Ctx = Ctx->getPrimaryContext();
1112 if (Ctx == Entity->getPrimaryContext())
H A DSemaLookup.cpp186 Common = Common->getPrimaryContext();
203 DC->getPrimaryContext(),
2410 Namespaces.insert(Ctx->getPrimaryContext());
3443 if (Visited.visitedContext(Ctx->getPrimaryContext()))
4170 for (DeclContext *DC = Start->getPrimaryContext(); DC != nullptr;
4175 Chain.push_back(DC->getPrimaryContext());
H A DSemaAccess.cpp265 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext();
266 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext();
H A DSemaDecl.cpp469 DC = DC->getPrimaryContext();
489 DC = DC->getPrimaryContext();
1315 DeclContext *TargetDC = DC->getPrimaryContext();
1318 if (ScopeDC->getPrimaryContext() == TargetDC)
/external/clang/lib/Serialization/
H A DASTWriter.cpp3537 assert(DC == DC->getPrimaryContext() && "only primary DC has lookup table");
3724 UpdatedDeclContexts.insert(DC->getPrimaryContext());
3729 StoredDeclsMap *Map = DC->getPrimaryContext()->buildLookup();
3761 if (DC->getPrimaryContext() != DC)
4687 UpdatedDeclContexts.insert(RD->getPrimaryContext());
5686 assert(DC == DC->getPrimaryContext() && "added to non-primary context");
H A DASTWriterDecl.cpp313 Writer.UpdatedDeclContexts.insert(NS->getPrimaryContext());
1092 D->getParent()->getRedeclContext()->getPrimaryContext());
H A DASTReaderDecl.cpp3526 auto *DC = cast<DeclContext>(D)->getPrimaryContext();
H A DASTReader.cpp6642 assert(DC->hasExternalVisibleStorage() && DC == DC->getPrimaryContext() &&

Completed in 340 milliseconds