reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/DeclBase.h
 1904     return DC && this->getPrimaryContext() == DC->getPrimaryContext();
 1904     return DC && this->getPrimaryContext() == DC->getPrimaryContext();
tools/clang/include/clang/AST/DependentDiagnostic.h
  179     = static_cast<DependentStoredDeclsMap*>(getPrimaryContext()->getLookupPtr());
tools/clang/lib/AST/ASTDumper.cpp
   30     const DeclContext *Primary = DC->getPrimaryContext();
tools/clang/lib/AST/DeclBase.cpp
 1160   if (getPrimaryContext() != this)
 1161     return getPrimaryContext()->Encloses(DC);
 1164     if (DC->getPrimaryContext() == this)
 1614   const DeclContext *PrimaryContext = getPrimaryContext();
 1921   assert(getPrimaryContext() == this &&
tools/clang/lib/Sema/SemaAccess.cpp
  264   const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext();
  265   const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext();
tools/clang/lib/Sema/SemaDecl.cpp
  547     DC = DC->getPrimaryContext();
tools/clang/lib/Serialization/ASTReader.cpp
 8052   assert(DC->hasExternalVisibleStorage() && DC == DC->getPrimaryContext() &&
tools/clang/lib/Serialization/ASTWriter.cpp
 5317         UpdatedDeclContexts.insert(RD->getPrimaryContext());
 6375   assert(DC == DC->getPrimaryContext() && "added to non-primary context");