Home
last modified time | relevance | path

Searched refs:Entity (Results 1 – 25 of 75) sorted by relevance

123

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAccess.cpp164 : AccessedEntity(Entity) { in AccessTarget()
1277 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : nullptr); in DiagnoseBadAccess()
1279 S.Diag(Loc, Entity.getDiag()) in DiagnoseBadAccess()
1364 if (Entity.isMemberAccess()) { in IsAccessible()
1439 if (!Entity.isQuiet()) in CheckEffectiveAccess()
1528 AccessTarget Entity(Context, in HandleDependentAccessCheck() local
1536 AccessTarget Entity(Context, in HandleDependentAccessCheck() local
1594 Entity.setDiag(Diag); in isMemberAccessibleForDeletion()
1638 switch (Entity.getKind()) { in CheckConstructorAccess()
1693 !Entity.getParent()) { in CheckConstructorAccess()
[all …]
H A DSemaInit.cpp559 SemaRef, Entity, in PerformEmptyInit()
1010 if (!Entity.getParent()) in isIdiomaticBraceElisionEntity()
1149 if (Entity.getParent()) in warnBracedScalarInit()
1385 : Entity; in CheckSubElementType()
4104 Entity.getKind() != in TryConstructorInitialization()
5207 S, Entity, Kind, Args, T, Entity.getType(), Sequence, InitListSyntax); in TryValueInitialization()
6123 if (Entity.getDecl() && in getAssignmentAction()
6498 if (Entity.isParamOrTemplateParamKind() && Entity.getDecl()) { in PrintInitLocationNote()
6734 return getEntityLifetime(Entity->getParent(), Entity); in getEntityLifetime()
6748 return {Entity, Entity->isDefaultMemberInitializer() ? LK_Extended in getEntityLifetime()
[all …]
H A DSemaTemplateInstantiate.cpp248 Inst.Entity = Entity; in InstantiatingTemplate()
475 if (Active.Entity) in Clear()
551 Decl *D = Active->Entity; in PrintInstantiationStack()
637 Active->Entity)) { in PrintInstantiationStack()
802 if (!Active->Entity) { in PrintInstantiationStack()
932 DeclarationName Entity; member in __anon2e76b3e50111::TemplateInstantiator
942 Entity(Entity) { } in TemplateInstantiator()
961 this->Entity = Entity; in setBase()
1907 SmallString<128> Entity; in createSubstDiag() local
1908 llvm::raw_svector_ostream OS(Entity); in createSubstDiag()
[all …]
H A DSemaTemplate.cpp6316 if (Entity && Entity->hasAttr<DLLImportAttr>()) in isNullPointerValueTemplateArgument()
6557 ValueDecl *Entity = nullptr; in CheckTemplateArgumentAddressOfObjectOrFunction() local
6559 Entity = DRE->getDecl(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6561 Entity = CUE->getGuidDecl(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6588 if (!Entity) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6596 if (isa<FieldDecl>(Entity) || isa<IndirectFieldDecl>(Entity)) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6678 ArgType = Entity->getType(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6887 InitializedEntity Entity = in CheckTemplateArgument() local
10852 DeclarationName Entity; member in __anoncd9c0a411111::CurrentInstantiationRebuilder
10861 Loc(Loc), Entity(Entity) { } in CurrentInstantiationRebuilder()
[all …]
H A DSemaExprCXX.cpp899 InitializedEntity Entity = in BuildCXXThrow() local
1458 InitializedEntity Entity = in BuildCXXTypeConstructExpr() local
2016 InitializedEntity Entity in BuildCXXNew() local
2019 AllocTypeInfo, Entity, Kind, Exprs); in BuildCXXNew()
2371 InitializedEntity Entity in BuildCXXNew() local
3846 InitializedEntity Entity = in SemaBuiltinOperatorNewDeleteOverloaded() local
6007 return InitSeq.Diagnose(Self, Entity, Kind, From); in TryClassUnification()
6055 return InitSeq.Diagnose(Self, Entity, Kind, From); in TryClassUnification()
6129 InitializationSequence InitSeq(Self, Entity, Kind, Arg); in ConvertForConditional()
7102 InitializedEntity Entity = in FindCompositePointerType() local
[all …]
H A DSemaLookup.cpp1529 static Module *getDefiningModule(Sema &S, Decl *Entity) { in getDefiningModule() argument
1534 Entity = Pattern; in getDefiningModule()
1537 Entity = Pattern; in getDefiningModule()
1540 Entity = Pattern; in getDefiningModule()
1541 } else if (VarDecl *VD = dyn_cast<VarDecl>(Entity)) { in getDefiningModule()
1543 Entity = Pattern; in getDefiningModule()
1550 return S.getOwningModule(Entity); in getDefiningModule()
1558 Module *M = CodeSynthesisContexts[I].Entity ? in getLookupModules()
4309 DeclContext *Entity = S->getLookupEntity(); in lookupInScope() local
4310 if (Entity) { in lookupInScope()
[all …]
H A DScope.cpp92 Entity = nullptr; in Init()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DInitialization.h265 InitializedEntity Entity; in InitializeParameter() local
267 Entity.Type = in InitializeParameter()
269 Entity.Parent = nullptr; in InitializeParameter()
271 return Entity; in InitializeParameter()
279 InitializedEntity Entity; in InitializeParameter() local
282 Entity.Parent = nullptr; in InitializeParameter()
284 return Entity; in InitializeParameter()
290 InitializedEntity Entity; in InitializeTemplateParameter() local
292 Entity.Type = T; in InitializeTemplateParameter()
293 Entity.Parent = nullptr; in InitializeTemplateParameter()
[all …]
H A DScope.h205 DeclContext *Entity; variable
358 return isTemplateParamScope() ? nullptr : Entity; in getEntity()
363 DeclContext *getLookupEntity() const { return Entity; } in getLookupEntity()
368 Entity = E; in setEntity()
370 void setLookupEntity(DeclContext *E) { Entity = E; } in setLookupEntity()
H A DDelayedDiagnostic.h145 const AccessedEntity &Entity) { in makeAccess() argument
150 new (&DD.getAccessData()) AccessedEntity(Entity); in makeAccess()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPreprocessingRecord.cpp254 assert(Entity); in addPreprocessedEntity()
255 SourceLocation BeginLoc = Entity->getSourceRange().getBegin(); in addPreprocessedEntity()
257 if (isa<MacroDefinitionRecord>(Entity)) { in addPreprocessedEntity()
263 PreprocessedEntities.push_back(Entity); in addPreprocessedEntity()
271 PreprocessedEntities.push_back(Entity); in addPreprocessedEntity()
309 pp_iter insertI = PreprocessedEntities.insert(I, Entity); in addPreprocessedEntity()
374 if (!Entity) { in getLoadedPreprocessedEntity()
375 Entity = ExternalSource->ReadPreprocessedEntity(Index); in getLoadedPreprocessedEntity()
376 if (!Entity) // Failed to load. in getLoadedPreprocessedEntity()
377 Entity = new (*this) in getLoadedPreprocessedEntity()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Expression/
H A DMaterializer.h113 class Entity {
115 Entity() = default;
117 virtual ~Entity() = default;
144 uint32_t AddStructMember(Entity &entity);
146 typedef std::unique_ptr<Entity> EntityUP;
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp1270 auto *Entity = Module->getEntity(); in constructImportedEntityDIE() local
1271 if (auto *NS = dyn_cast<DINamespace>(Entity)) in constructImportedEntityDIE()
1273 else if (auto *M = dyn_cast<DIModule>(Entity)) in constructImportedEntityDIE()
1275 else if (auto *SP = dyn_cast<DISubprogram>(Entity)) in constructImportedEntityDIE()
1277 else if (auto *T = dyn_cast<DIType>(Entity)) in constructImportedEntityDIE()
1282 EntityDie = getDIE(Entity); in constructImportedEntityDIE()
1320 auto *Die = Entity->getDIE(); in finishEntityDefinition()
1326 Label = dyn_cast<const DbgLabel>(Entity); in finishEntityDefinition()
1352 auto &Entity = getAbstractEntities()[Node]; in createAbstractEntity() local
1354 Entity = std::make_unique<DbgVariable>( in createAbstractEntity()
[all …]
H A DDwarfDebug.h73 const DINode *Entity;
80 : Entity(N), InlinedAt(IA), SubclassID(ID) {} in DbgEntity()
85 const DINode *getEntity() const { return Entity; } in getEntity()
H A DDbgEntityHistoryCalculator.cpp146 InlinedEntity Entity = Record.first; in trimLocationRanges() local
147 const DILocalVariable *LocalVar = cast<DILocalVariable>(Entity.first); in trimLocationRanges()
150 if (const DILocation *InlinedAt = Entity.second) { in trimLocationRanges()
/llvm-project-15.0.7/clang/unittests/CodeGen/
H A DIRMatchers.h61 PointerUnion<const Value *, const Metadata *, const Type *> Entity; variable
65 Query(const Value *V, unsigned N) : Entity(V), OperandNo(N) {} in Query()
66 Query(const Metadata *M, unsigned N) : Entity(M), OperandNo(N) {} in Query()
67 Query(const Type *T, unsigned N) : Entity(T), OperandNo(N) {} in Query()
71 return Entity.dyn_cast<const T *>(); in get()
/llvm-project-15.0.7/lldb/source/Expression/
H A DMaterializer.cpp39 uint32_t Materializer::AddStructMember(Entity &entity) { in AddStructMember()
58 class EntityPersistentVariable : public Materializer::Entity {
62 : Entity(), m_persistent_variable_sp(persistent_variable_sp), in EntityPersistentVariable()
428 class EntityVariableBase : public Materializer::Entity {
909 class EntityResultVariable : public Materializer::Entity {
914 : Entity(), m_type(type), m_is_program_reference(is_program_reference), in EntityResultVariable()
1192 class EntitySymbol : public Materializer::Entity {
1194 EntitySymbol(const Symbol &symbol) : Entity(), m_symbol(symbol) { in EntitySymbol()
1310 class EntityRegister : public Materializer::Entity {
1313 : Entity(), m_register_info(register_info) { in EntityRegister()
/llvm-project-15.0.7/clang/tools/libclang/
H A DIndexing.cpp843 const EntityInfo *Entity = static_cast<const EntityInfo *>(info); in clang_index_getClientEntity() local
844 return Entity->IndexCtx->getClientEntity(Entity->Dcl); in clang_index_getClientEntity()
851 const EntityInfo *Entity = static_cast<const EntityInfo *>(info); in clang_index_setClientEntity() local
852 Entity->IndexCtx->setClientEntity(Entity->Dcl, client); in clang_index_setClientEntity()
/llvm-project-15.0.7/llvm/lib/Demangle/
H A DItaniumDemangle.cpp458 Name = static_cast<const LocalName *>(Name)->Entity; in getFunctionBaseName()
503 Name = LN->Entity; in getFunctionDeclContextName()
589 N = static_cast<const LocalName *>(N)->Entity; in isCtorOrDtor()
/llvm-project-15.0.7/third-party/benchmark/
H A DLICENSE16 "Legal Entity" shall mean the union of the acting entity and all
24 "You" (or "Your") shall mean an individual or Legal Entity
53 or by an individual or Legal Entity authorized to submit on behalf of
63 "Contributor" shall mean Licensor and any individual or Legal Entity
/llvm-project-15.0.7/llvm/lib/IR/
H A DLLVMContextImpl.h1181 Metadata *Entity;
1187 MDNodeKeyImpl(unsigned Tag, Metadata *Scope, Metadata *Entity, Metadata *File,
1189 : Tag(Tag), Scope(Scope), Entity(Entity), File(File), Line(Line),
1192 : Tag(N->getTag()), Scope(N->getRawScope()), Entity(N->getRawEntity()),
1198 Entity == RHS->getRawEntity() && File == RHS->getFile() &&
1204 return hash_combine(Tag, Scope, Entity, File, Line, Name, Elements);
/llvm-project-15.0.7/mlir/
H A DLICENSE.TXT19 "Legal Entity" shall mean the union of the acting entity and all
27 "You" (or "Your") shall mean an individual or Legal Entity
56 or by an individual or Legal Entity authorized to submit on behalf of
66 "Contributor" shall mean Licensor and any individual or Legal Entity
/llvm-project-15.0.7/flang/
H A DLICENSE.TXT19 "Legal Entity" shall mean the union of the acting entity and all
27 "You" (or "Your") shall mean an individual or Legal Entity
56 or by an individual or Legal Entity authorized to submit on behalf of
66 "Contributor" shall mean Licensor and any individual or Legal Entity
/llvm-project-15.0.7/bolt/
H A DLICENSE.TXT19 "Legal Entity" shall mean the union of the acting entity and all
27 "You" (or "Your") shall mean an individual or Legal Entity
56 or by an individual or Legal Entity authorized to submit on behalf of
66 "Contributor" shall mean Licensor and any individual or Legal Entity
/llvm-project-15.0.7/lld/
H A DLICENSE.TXT19 "Legal Entity" shall mean the union of the acting entity and all
27 "You" (or "Your") shall mean an individual or Legal Entity
56 or by an individual or Legal Entity authorized to submit on behalf of
66 "Contributor" shall mean Licensor and any individual or Legal Entity

123