Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp161 AccessTarget(const AccessedEntity &Entity) in AccessTarget()
162 : AccessedEntity(Entity) { in AccessTarget()
1282 AccessTarget &Entity) { in DiagnoseBadAccess() argument
1283 const CXXRecordDecl *NamingClass = Entity.getNamingClass(); in DiagnoseBadAccess()
1284 const CXXRecordDecl *DeclaringClass = Entity.getDeclaringClass(); in DiagnoseBadAccess()
1285 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : nullptr); in DiagnoseBadAccess()
1287 S.Diag(Loc, Entity.getDiag()) in DiagnoseBadAccess()
1288 << (Entity.getAccess() == AS_protected) in DiagnoseBadAccess()
1292 DiagnoseAccessPath(S, EC, Entity); in DiagnoseBadAccess()
1317 AccessTarget &Entity) { in IsMicrosoftUsingDeclarationAccessBug() argument
[all …]
H A DSemaInit.cpp196 static bool initializingConstexprVariable(const InitializedEntity &Entity) { in initializingConstexprVariable() argument
197 Decl *D = Entity.getDecl(); in initializingConstexprVariable()
198 const InitializedEntity *Parent = &Entity; in initializingConstexprVariable()
326 void CheckImplicitInitList(const InitializedEntity &Entity,
330 void CheckExplicitInitList(const InitializedEntity &Entity,
334 void CheckListElementTypes(const InitializedEntity &Entity,
341 void CheckSubElementType(const InitializedEntity &Entity,
347 void CheckComplexType(const InitializedEntity &Entity,
352 void CheckScalarType(const InitializedEntity &Entity,
357 void CheckReferenceType(const InitializedEntity &Entity,
[all …]
H A DSemaTemplateInstantiate.cpp130 auto *TATD = cast<TypeAliasTemplateDecl>(CSC.Entity), in getEnclosingTypeAliasTemplateDecl()
584 Decl *Entity, NamedDecl *Template, ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument
600 Inst.Entity = Entity; in InstantiatingTemplate()
608 AlreadyInstantiating = !Inst.Entity ? false : in InstantiatingTemplate()
610 .insert({Inst.Entity->getCanonicalDecl(), Inst.Kind}) in InstantiatingTemplate()
617 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, in InstantiatingTemplate() argument
621 PointOfInstantiation, InstantiationRange, Entity) {} in InstantiatingTemplate()
624 Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity, in InstantiatingTemplate() argument
628 PointOfInstantiation, InstantiationRange, Entity) {} in InstantiatingTemplate()
718 TypeAliasTemplateDecl *Entity, ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument
[all …]
H A DCheckExprLifetime.cpp57 getEntityLifetime(const InitializedEntity *Entity, in getEntityLifetime() argument
60 switch (Entity->getKind()) { in getEntityLifetime()
63 return {Entity, LK_Extended}; in getEntityLifetime()
67 if (Entity->getParent()) in getEntityLifetime()
68 return getEntityLifetime(Entity->getParent(), Entity); in getEntityLifetime()
82 return {Entity, Entity->isDefaultMemberInitializer() ? LK_Extended in getEntityLifetime()
88 return {Entity, LK_Extended}; in getEntityLifetime()
129 return getEntityLifetime(Entity->getParent(), InitField); in getEntityLifetime()
133 if (Entity->getParent()) in getEntityLifetime()
134 return getEntityLifetime(Entity->getParent(), InitField); in getEntityLifetime()
[all …]
H A DCheckExprLifetime.h30 void checkExprLifetime(Sema &SemaRef, const InitializedEntity &Entity,
35 void checkExprLifetime(Sema &SemaRef, const AssignedEntity &Entity, Expr *Init);
H A DSemaTemplate.cpp5929 Decl *Entity = nullptr) { in isNullPointerValueTemplateArgument() argument
5935 if (Entity && Entity->hasAttr<DLLImportAttr>()) in isNullPointerValueTemplateArgument()
6183 ValueDecl *Entity = nullptr; in CheckTemplateArgumentAddressOfObjectOrFunction() local
6185 Entity = DRE->getDecl(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6187 Entity = CUE->getGuidDecl(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6192 Entity)) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6219 if (!Entity) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6227 if (isa<FieldDecl>(Entity) || isa<IndirectFieldDecl>(Entity)) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6229 << Entity << Arg->getSourceRange(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6235 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Entity)) { in CheckTemplateArgumentAddressOfObjectOrFunction()
[all …]
H A DSemaLookup.cpp1556 static Module *getDefiningModule(Sema &S, Decl *Entity) { in getDefiningModule() argument
1557 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Entity)) { in getDefiningModule()
1561 Entity = Pattern; in getDefiningModule()
1562 } else if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(Entity)) { in getDefiningModule()
1564 Entity = Pattern; in getDefiningModule()
1565 } else if (EnumDecl *ED = dyn_cast<EnumDecl>(Entity)) { in getDefiningModule()
1567 Entity = Pattern; in getDefiningModule()
1568 } else if (VarDecl *VD = dyn_cast<VarDecl>(Entity)) { in getDefiningModule()
1570 Entity = Pattern; in getDefiningModule()
1575 DeclContext *Context = Entity->getLexicalDeclContext(); in getDefiningModule()
[all …]
H A DSemaExprCXX.cpp914 InitializedEntity Entity = in BuildCXXThrow() local
916 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRInfo, Ex); in BuildCXXThrow()
1547 InitializedEntity Entity = in BuildCXXTypeConstructExpr() local
1568 Ty = DeduceTemplateSpecializationFromInitializer(TInfo, Entity, in BuildCXXTypeConstructExpr()
1572 Entity = InitializedEntity::InitializeTemporary(TInfo, Ty); in BuildCXXTypeConstructExpr()
1613 Entity = InitializedEntity::InitializeTemporary(TInfo, Ty); in BuildCXXTypeConstructExpr()
1659 InitializationSequence InitSeq(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr()
1660 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr()
2096 InitializedEntity Entity in BuildCXXNew() local
2099 AllocTypeInfo, Entity, Kind, Exprs); in BuildCXXNew()
[all …]
H A DSemaCoroutine.cpp550 InitializedEntity Entity = InitializedEntity::InitializeVariable(VD); in buildCoroutinePromise() local
553 InitializationSequence InitSeq(*this, Entity, Kind, CtorArgExprs, in buildCoroutinePromise()
564 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, CtorArgExprs); in buildCoroutinePromise()
1771 InitializedEntity Entity = in makeGroDeclAndReturnStmt() local
1773 S.PerformCopyInitialization(Entity, SourceLocation(), ReturnValue); in makeGroDeclAndReturnStmt()
1793 InitializedEntity Entity = InitializedEntity::InitializeVariable(GroDecl); in makeGroDeclAndReturnStmt() local
1795 S.PerformCopyInitialization(Entity, SourceLocation(), ReturnValue); in makeGroDeclAndReturnStmt()
H A DScope.cpp100 Entity = nullptr; in Init()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h271 InitializedEntity Entity; in InitializeParameter() local
272 Entity.Kind = EK_Parameter; in InitializeParameter()
273 Entity.Type = in InitializeParameter()
275 Entity.Parent = nullptr; in InitializeParameter()
276 Entity.Parameter = {Parm, Consumed}; in InitializeParameter()
277 return Entity; in InitializeParameter()
285 InitializedEntity Entity; in InitializeParameter() local
286 Entity.Kind = EK_Parameter; in InitializeParameter()
287 Entity.Type = Context.getVariableArrayDecayedType(Type); in InitializeParameter()
288 Entity.Parent = nullptr; in InitializeParameter()
[all …]
H A DScope.h231 DeclContext *Entity; variable
385 return isTemplateParamScope() ? nullptr : Entity; in getEntity()
390 DeclContext *getLookupEntity() const { return Entity; } in getLookupEntity()
395 Entity = E; in setEntity()
397 void setLookupEntity(DeclContext *E) { Entity = E; } in setLookupEntity()
H A DDelayedDiagnostic.h147 const AccessedEntity &Entity) { in makeAccess() argument
152 new (&DD.getAccessData()) AccessedEntity(Entity); in makeAccess()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessingRecord.cpp252 PreprocessingRecord::addPreprocessedEntity(PreprocessedEntity *Entity) { in addPreprocessedEntity() argument
253 assert(Entity); in addPreprocessedEntity()
254 SourceLocation BeginLoc = Entity->getSourceRange().getBegin(); in addPreprocessedEntity()
256 if (isa<MacroDefinitionRecord>(Entity)) { in addPreprocessedEntity()
262 PreprocessedEntities.push_back(Entity); in addPreprocessedEntity()
270 PreprocessedEntities.push_back(Entity); in addPreprocessedEntity()
298 pp_iter insertI = PreprocessedEntities.insert(RI, Entity); in addPreprocessedEntity()
308 pp_iter insertI = PreprocessedEntities.insert(I, Entity); in addPreprocessedEntity()
372 PreprocessedEntity *&Entity = LoadedPreprocessedEntities[Index]; in getLoadedPreprocessedEntity() local
373 if (!Entity) { in getLoadedPreprocessedEntity()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DMaterializer.h114 class Entity {
116 Entity() = default;
118 virtual ~Entity() = default;
145 uint32_t AddStructMember(Entity &entity);
147 typedef std::unique_ptr<Entity> EntityUP;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp1352 auto *Entity = Module->getEntity(); in constructImportedEntityDIE() local
1353 if (auto *NS = dyn_cast<DINamespace>(Entity)) in constructImportedEntityDIE()
1355 else if (auto *M = dyn_cast<DIModule>(Entity)) in constructImportedEntityDIE()
1357 else if (auto *SP = dyn_cast<DISubprogram>(Entity)) { in constructImportedEntityDIE()
1365 } else if (auto *T = dyn_cast<DIType>(Entity)) in constructImportedEntityDIE()
1367 else if (auto *GV = dyn_cast<DIGlobalVariable>(Entity)) in constructImportedEntityDIE()
1369 else if (auto *IE = dyn_cast<DIImportedEntity>(Entity)) in constructImportedEntityDIE()
1372 EntityDie = getDIE(Entity); in constructImportedEntityDIE()
1430 void DwarfCompileUnit::finishEntityDefinition(const DbgEntity *Entity) { in finishEntityDefinition() argument
1431 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition()
[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.cpp149 InlinedEntity Entity = Record.first; in trimLocationRanges() local
150 const DILocalVariable *LocalVar = cast<DILocalVariable>(Entity.first); in trimLocationRanges()
153 if (const DILocation *InlinedAt = Entity.second) { in trimLocationRanges()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DMaterializer.cpp40 uint32_t Materializer::AddStructMember(Entity &entity) { in AddStructMember()
59 class EntityPersistentVariable : public Materializer::Entity {
63 : Entity(), m_persistent_variable_sp(persistent_variable_sp), in EntityPersistentVariable()
429 class EntityVariableBase : public Materializer::Entity {
910 class EntityResultVariable : public Materializer::Entity {
915 : Entity(), m_type(type), m_is_program_reference(is_program_reference), in EntityResultVariable()
1200 class EntitySymbol : public Materializer::Entity {
1202 EntitySymbol(const Symbol &symbol) : Entity(), m_symbol(symbol) { in EntitySymbol()
1318 class EntityRegister : public Materializer::Entity {
1321 : Entity(), m_register_info(register_info) { in EntityRegister()
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/modes/
H A DTHIRDPARTYLICENSE.openssl16 "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
/freebsd/crypto/openssl/
H A DLICENSE.txt16 "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
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DItaniumDemangle.cpp442 Name = static_cast<const LocalName *>(Name)->Entity; in getFunctionBaseName()
485 Name = LN->Entity; in getFunctionDeclContextName()
567 N = static_cast<const LocalName *>(N)->Entity; in isCtorOrDtor()
/freebsd/lib/libfetch/
H A Dhttp.errors34 413 PROTO Request Entity Too Large
/freebsd/sys/contrib/openzfs/contrib/pyzfs/
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
/freebsd/contrib/arm-optimized-routines/
H A DLICENSE46 "Legal Entity" shall mean the union of the acting entity and all
54 "You" (or "Your") shall mean an individual or Legal Entity
83 or by an individual or Legal Entity authorized to submit on behalf of
93 "Contributor" shall mean Licensor and any individual or Legal Entity

123