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

References

tools/clang/lib/Sema/IdentifierResolver.cpp
  105     while (S->getEntity() && S->getEntity()->isTransparentContext())
  105     while (S->getEntity() && S->getEntity()->isTransparentContext())
tools/clang/lib/Sema/Scope.cpp
  127   if (getEntity())
  193   if (const DeclContext *DC = getEntity())
tools/clang/lib/Sema/Sema.cpp
 1623       if (DeclContext *Entity = S->getEntity())
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  284       if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(S->getEntity()))
  289       RD = cast<CXXRecordDecl>(S->getEntity());
tools/clang/lib/Sema/SemaCodeComplete.cpp
 4683           if (DeclContext *Ctx = DepScope->getEntity()) {
 5355     if (S->getEntity()) {
 5356       CodeCompletionDeclConsumer Consumer(DummyResults, S->getEntity(),
 5465   DeclContext *Ctx = S->getEntity();
 5712   DeclContext *DC = S->getEntity();
 8179     if (DeclContext *DC = S->getEntity())
tools/clang/lib/Sema/SemaDecl.cpp
 1341   assert(!S->getEntity() && "scope already has entity");
 1345   while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent();
 1346   assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch");
 1354   assert(S->getEntity() == CurContext && "Context imbalance!");
 1359   while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent();
 1360   CurContext = Ancestor->getEntity();
 1426   while (S->getEntity() && S->getEntity()->isTransparentContext())
 1426   while (S->getEntity() && S->getEntity()->isTransparentContext())
 1490     if (DeclContext *ScopeDC = S->getEntity())
 1986          (S->getEntity() && S->getEntity()->isTransparentContext()) ||
 1986          (S->getEntity() && S->getEntity()->isTransparentContext()) ||
 8558          (S->getEntity() && S->getEntity()->isTransparentContext()))
 8558          (S->getEntity() && S->getEntity()->isTransparentContext()))
14105   while (!ContextScope->getEntity())
14107   ContextRAII SavedContext(*this, ContextScope->getEntity());
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9917   DeclContext *Ctx = S->getEntity();
tools/clang/lib/Sema/SemaExprCXX.cpp
  369       const DeclContext *Ctx = S->getEntity();
tools/clang/lib/Sema/SemaLookup.cpp
  108       DeclContext *InnermostFileDC = InnermostFileScope->getEntity();
  115         DeclContext *Ctx = S->getEntity();
 1121   if (DeclContext *Ctx = S->getEntity())
 1134   DeclContext *DC = S->getEntity();
 1138     if (OuterS->getEntity()) {
 1139       Lexical = OuterS->getEntity();
 1226       if (DeclContext *DC = PreS->getEntity())
 1265     DeclContext *Ctx = S->getEntity();
 1453     DeclContext *Ctx = S->getEntity();
 1926              (S->getEntity() && S->getEntity()->isTransparentContext()))
 1926              (S->getEntity() && S->getEntity()->isTransparentContext()))
 3947     if (!S->getEntity() ||
 3948         (!S->getParent() && !Visited.alreadyVisitedContext(S->getEntity())) ||
 3949         (S->getEntity())->isFunctionOrMethod()) {
 3965     if (S->getEntity()) {
 3969       Entity = S->getEntity();
tools/clang/lib/Sema/SemaTemplate.cpp
 7384   DeclContext *Ctx = S->getEntity();
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  218     for (const auto *Context = S->getEntity(); Context;