Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DScope.cpp127 if (getEntity()) in mergeNRVOIntoParent()
193 if (const DeclContext *DC = getEntity()) in dumpImpl()
H A DIdentifierResolver.cpp105 while (S->getEntity() && S->getEntity()->isTransparentContext()) in isDeclInScope()
H A DSemaLookup.cpp108 DeclContext *InnermostFileDC = InnermostFileScope->getEntity(); in visitScopeChain()
115 DeclContext *Ctx = S->getEntity(); in visitScopeChain()
1209 if (DeclContext *Ctx = S->getEntity()) in isNamespaceOrTranslationUnitScope()
1255 if (DeclContext *DC = PreS->getEntity()) in CppLookupName()
1325 dyn_cast_or_null<CXXRecordDecl>(S->getEntity())) in CppLookupName()
1925 (S->getEntity() && S->getEntity()->isTransparentContext())) in LookupName()
3982 if (!S->getEntity() || in lookupInScope()
3983 (!S->getParent() && !Visited.alreadyVisitedContext(S->getEntity())) || in lookupInScope()
3984 (S->getEntity())->isFunctionOrMethod()) { in lookupInScope()
H A DSemaCXXScopeSpec.cpp284 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(S->getEntity())) in ActOnSuperScopeSpecifier()
289 RD = cast<CXXRecordDecl>(S->getEntity()); in ActOnSuperScopeSpecifier()
H A DSemaDecl.cpp1334 assert(!S->getEntity() && "scope already has entity"); in EnterDeclaratorContext()
1338 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in EnterDeclaratorContext()
1339 assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch"); in EnterDeclaratorContext()
1353 assert(S->getEntity() == CurContext && "Context imbalance!"); in ExitDeclaratorContext()
1358 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in ExitDeclaratorContext()
1359 CurContext = Ancestor->getEntity(); in ExitDeclaratorContext()
1468 while (S->getEntity() && S->getEntity()->isTransparentContext()) in PushOnScopeChains()
1530 if (DeclContext *ScopeDC = S->getEntity()) in getScopeForDeclContext()
2028 (S->getEntity() && S->getEntity()->isTransparentContext()) || in getNonFieldDeclScope()
8939 (S->getEntity() && S->getEntity()->isTransparentContext())) in getTagInjectionScope()
[all …]
H A DSemaCodeComplete.cpp4800 if (DeclContext *Ctx = DepScope->getEntity()) { in AddRecordMembersCompletionResults()
5154 return Inner ? Inner->getEntity() : nullptr; in getTemplatedEntity()
6034 if (S->getEntity()) { in CodeCompleteQualifiedId()
6035 CodeCompletionDeclConsumer Consumer(DummyResults, S->getEntity(), in CodeCompleteQualifiedId()
6158 DeclContext *Ctx = S->getEntity(); in CodeCompleteNamespaceDecl()
6405 DeclContext *DC = S->getEntity(); in isNamespaceScope()
8932 if (DeclContext *DC = S->getEntity()) in CodeCompleteObjCMethodDecl()
H A DSema.cpp1901 if (DeclContext *Entity = S->getEntity()) in getScopeForContext()
H A DSemaExprCXX.cpp419 Destroyed = dyn_cast_or_null<CXXRecordDecl>(S->getEntity()); in getDestructorName()
H A DSemaTemplate.cpp7933 DeclContext *Ctx = S->getEntity(); in CheckTemplateDeclScope()
H A DSemaDeclCXX.cpp11525 DeclContext *Ctx = S->getEntity(); in PushUsingDirective()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h85 const DINode *getEntity() const { return Entity; } in getEntity() function
168 return cast<DILocalVariable>(getEntity()); in getVariable()
243 const DILabel *getLabel() const { return cast<DILabel>(getEntity()); } in getLabel()
H A DDwarfCompileUnit.cpp1248 auto *Entity = Module->getEntity(); in constructImportedEntityDIE()
1286 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DScope.h343 DeclContext *getEntity() const { in getEntity() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDebugInfo.cpp180 auto *Entity = Import->getEntity(); in processCompileUnit()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3307 return getTemporary(getContext(), getTag(), getScope(), getEntity(),
3325 DINode *getEntity() const { return cast_or_null<DINode>(getRawEntity()); }
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2051 Record.push_back(VE.getMetadataOrNullID(N->getEntity())); in writeDIImportedEntity()