Home
last modified time | relevance | path

Searched refs:getEntity (Results 1 – 17 of 17) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DScope.cpp151 if (S->getEntity()) in updateNRVOCandidate()
187 if (!getEntity()) in applyNRVO()
248 if (const DeclContext *DC = getEntity()) in dumpImpl()
H A DIdentifierResolver.cpp109 while (S->getEntity() && S->getEntity()->isTransparentContext()) in isDeclInScope()
H A DSemaLookup.cpp111 DeclContext *InnermostFileDC = InnermostFileScope->getEntity(); in visitScopeChain()
118 DeclContext *Ctx = S->getEntity(); in visitScopeChain()
1221 if (DeclContext *Ctx = S->getEntity()) in isNamespaceOrTranslationUnitScope()
1267 if (DeclContext *DC = PreS->getEntity()) in CppLookupName()
1337 dyn_cast_or_null<CXXRecordDecl>(S->getEntity())) in CppLookupName()
2192 (S->getEntity() && S->getEntity()->isTransparentContext())) in LookupName()
4305 if (!S->getEntity() || in lookupInScope()
4306 (!S->getParent() && !Visited.alreadyVisitedContext(S->getEntity())) || in lookupInScope()
4307 (S->getEntity())->isFunctionOrMethod()) { in lookupInScope()
H A DSemaCXXScopeSpec.cpp298 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(S->getEntity())) in ActOnSuperScopeSpecifier()
303 RD = cast<CXXRecordDecl>(S->getEntity()); in ActOnSuperScopeSpecifier()
H A DSemaDecl.cpp1396 assert(!S->getEntity() && "scope already has entity"); in EnterDeclaratorContext()
1400 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in EnterDeclaratorContext()
1401 assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch"); in EnterDeclaratorContext()
1415 assert(S->getEntity() == CurContext && "Context imbalance!"); in ExitDeclaratorContext()
1420 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in ExitDeclaratorContext()
1421 CurContext = Ancestor->getEntity(); in ExitDeclaratorContext()
1541 while (S->getEntity() && S->getEntity()->isTransparentContext()) in PushOnScopeChains()
1603 if (DeclContext *ScopeDC = S->getEntity()) in getScopeForDeclContext()
2353 (S->getEntity() && S->getEntity()->isTransparentContext()) || in getNonFieldDeclScope()
9543 (S->getEntity() && S->getEntity()->isTransparentContext())) in getTagInjectionScope()
[all …]
H A DSemaCodeComplete.cpp5112 if (DeclContext *Ctx = DepScope->getEntity()) { in AddRecordMembersCompletionResults()
5467 return Inner ? Inner->getEntity() : nullptr; in getTemplatedEntity()
6575 if (S->getEntity()) { in CodeCompleteQualifiedId()
6576 CodeCompletionDeclConsumer Consumer(DummyResults, S->getEntity(), in CodeCompleteQualifiedId()
6699 DeclContext *Ctx = S->getEntity(); in CodeCompleteNamespaceDecl()
6946 DeclContext *DC = S->getEntity(); in isNamespaceScope()
9477 if (DeclContext *DC = S->getEntity()) in CodeCompleteObjCMethodDecl()
H A DSema.cpp2102 if (DeclContext *Entity = S->getEntity()) in getScopeForContext()
H A DSemaExprCXX.cpp425 Destroyed = dyn_cast_or_null<CXXRecordDecl>(S->getEntity()); in getDestructorName()
H A DSemaTemplate.cpp8245 DeclContext *Ctx = S->getEntity(); in CheckTemplateDeclScope()
H A DSemaDeclCXX.cpp11830 DeclContext *Ctx = S->getEntity(); in PushUsingDirective()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h85 const DINode *getEntity() const { return Entity; } in getEntity() function
167 return cast<DILocalVariable>(getEntity()); in getVariable()
244 const DILabel *getLabel() const { return cast<DILabel>(getEntity()); } in getLabel()
H A DDwarfCompileUnit.cpp1275 auto *Entity = Module->getEntity(); in constructImportedEntityDIE()
1323 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DScope.h360 DeclContext *getEntity() const { in getEntity() function
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3423 return getTemporary(getContext(), getTag(), getScope(), getEntity(),
3443 DINode *getEntity() const { return cast_or_null<DINode>(getRawEntity()); }
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDebugInfo.cpp195 auto *Entity = Import->getEntity(); in processCompileUnit()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1695 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2140 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()