| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaAccess.cpp | 163 AccessTarget(const AccessedEntity &Entity) in AccessTarget() 164 : AccessedEntity(Entity) { in AccessTarget() 1274 AccessTarget &Entity) { in DiagnoseBadAccess() argument 1275 const CXXRecordDecl *NamingClass = Entity.getNamingClass(); in DiagnoseBadAccess() 1276 const CXXRecordDecl *DeclaringClass = Entity.getDeclaringClass(); in DiagnoseBadAccess() 1277 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : nullptr); in DiagnoseBadAccess() 1279 S.Diag(Loc, Entity.getDiag()) in DiagnoseBadAccess() 1280 << (Entity.getAccess() == AS_protected) in DiagnoseBadAccess() 1284 DiagnoseAccessPath(S, EC, Entity); in DiagnoseBadAccess() 1309 AccessTarget &Entity) { in IsMicrosoftUsingDeclarationAccessBug() argument [all …]
|
| H A D | SemaInit.cpp | 311 void CheckImplicitInitList(const InitializedEntity &Entity, 315 void CheckExplicitInitList(const InitializedEntity &Entity, 319 void CheckListElementTypes(const InitializedEntity &Entity, 326 void CheckSubElementType(const InitializedEntity &Entity, 332 void CheckComplexType(const InitializedEntity &Entity, 337 void CheckScalarType(const InitializedEntity &Entity, 342 void CheckReferenceType(const InitializedEntity &Entity, 347 void CheckVectorType(const InitializedEntity &Entity, 351 void CheckStructUnionTypes(const InitializedEntity &Entity, 359 void CheckArrayType(const InitializedEntity &Entity, [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 383 Decl *Entity, NamedDecl *Template, ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument 399 Inst.Entity = Entity; in InstantiatingTemplate() 407 AlreadyInstantiating = !Inst.Entity ? false : in InstantiatingTemplate() 409 .insert({Inst.Entity->getCanonicalDecl(), Inst.Kind}) in InstantiatingTemplate() 416 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, in InstantiatingTemplate() argument 420 PointOfInstantiation, InstantiationRange, Entity) {} in InstantiatingTemplate() 423 Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity, in InstantiatingTemplate() argument 427 PointOfInstantiation, InstantiationRange, Entity) {} in InstantiatingTemplate() 635 if (Active.Entity) in Clear() 637 {Active.Entity->getCanonicalDecl(), Active.Kind}); in Clear() [all …]
|
| H A D | SemaTemplate.cpp | 6476 Decl *Entity = nullptr) { in isNullPointerValueTemplateArgument() argument 6482 if (Entity && Entity->hasAttr<DLLImportAttr>()) in isNullPointerValueTemplateArgument() 6730 ValueDecl *Entity = nullptr; in CheckTemplateArgumentAddressOfObjectOrFunction() local 6732 Entity = DRE->getDecl(); in CheckTemplateArgumentAddressOfObjectOrFunction() 6734 Entity = CUE->getGuidDecl(); in CheckTemplateArgumentAddressOfObjectOrFunction() 6739 Entity)) { in CheckTemplateArgumentAddressOfObjectOrFunction() 6766 if (!Entity) { in CheckTemplateArgumentAddressOfObjectOrFunction() 6774 if (isa<FieldDecl>(Entity) || isa<IndirectFieldDecl>(Entity)) { in CheckTemplateArgumentAddressOfObjectOrFunction() 6776 << Entity << Arg->getSourceRange(); in CheckTemplateArgumentAddressOfObjectOrFunction() 6782 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Entity)) { in CheckTemplateArgumentAddressOfObjectOrFunction() [all …]
|
| H A D | SemaLookup.cpp | 1531 static Module *getDefiningModule(Sema &S, Decl *Entity) { in getDefiningModule() argument 1532 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Entity)) { in getDefiningModule() 1536 Entity = Pattern; in getDefiningModule() 1537 } else if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(Entity)) { in getDefiningModule() 1539 Entity = Pattern; in getDefiningModule() 1540 } else if (EnumDecl *ED = dyn_cast<EnumDecl>(Entity)) { in getDefiningModule() 1542 Entity = Pattern; in getDefiningModule() 1543 } else if (VarDecl *VD = dyn_cast<VarDecl>(Entity)) { in getDefiningModule() 1545 Entity = Pattern; in getDefiningModule() 1550 DeclContext *Context = Entity->getLexicalDeclContext(); in getDefiningModule() [all …]
|
| H A D | SemaExprCXX.cpp | 902 InitializedEntity Entity = in BuildCXXThrow() local 904 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRInfo, Ex); in BuildCXXThrow() 1467 InitializedEntity Entity = in BuildCXXTypeConstructExpr() local 1488 Ty = DeduceTemplateSpecializationFromInitializer(TInfo, Entity, in BuildCXXTypeConstructExpr() 1492 Entity = InitializedEntity::InitializeTemporary(TInfo, Ty); in BuildCXXTypeConstructExpr() 1532 Entity = InitializedEntity::InitializeTemporary(TInfo, Ty); in BuildCXXTypeConstructExpr() 1584 InitializationSequence InitSeq(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr() 1585 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr() 2029 InitializedEntity Entity in BuildCXXNew() local 2032 AllocTypeInfo, Entity, Kind, Exprs); in BuildCXXNew() [all …]
|
| H A D | Scope.cpp | 95 Entity = nullptr; in Init()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Initialization.h | 271 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 D | Scope.h | 210 DeclContext *Entity; variable 361 return isTemplateParamScope() ? nullptr : Entity; in getEntity() 366 DeclContext *getLookupEntity() const { return Entity; } in getLookupEntity() 371 Entity = E; in setEntity() 373 void setLookupEntity(DeclContext *E) { Entity = E; } in setLookupEntity()
|
| H A D | DelayedDiagnostic.h | 145 const AccessedEntity &Entity) { in makeAccess() argument 150 new (&DD.getAccessData()) AccessedEntity(Entity); in makeAccess()
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | PreprocessingRecord.cpp | 252 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 …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Expression/ |
| H A D | Materializer.h | 113 class Entity { 115 Entity() = default; 117 virtual ~Entity() = default; 144 uint32_t AddStructMember(Entity &entity); 146 typedef std::unique_ptr<Entity> EntityUP;
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfCompileUnit.cpp | 1275 auto *Entity = Module->getEntity(); in constructImportedEntityDIE() local 1276 if (auto *NS = dyn_cast<DINamespace>(Entity)) in constructImportedEntityDIE() 1278 else if (auto *M = dyn_cast<DIModule>(Entity)) in constructImportedEntityDIE() 1280 else if (auto *SP = dyn_cast<DISubprogram>(Entity)) in constructImportedEntityDIE() 1282 else if (auto *T = dyn_cast<DIType>(Entity)) in constructImportedEntityDIE() 1284 else if (auto *GV = dyn_cast<DIGlobalVariable>(Entity)) in constructImportedEntityDIE() 1287 EntityDie = getDIE(Entity); in constructImportedEntityDIE() 1322 void DwarfCompileUnit::finishEntityDefinition(const DbgEntity *Entity) { in finishEntityDefinition() argument 1323 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition() 1325 auto *Die = Entity->getDIE(); in finishEntityDefinition() [all …]
|
| H A D | DwarfDebug.h | 73 const DINode *Entity; 80 : Entity(N), InlinedAt(IA), SubclassID(ID) {} in DbgEntity() 85 const DINode *getEntity() const { return Entity; } in getEntity()
|
| H A D | DbgEntityHistoryCalculator.cpp | 146 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()
|
| /openbsd-src/gnu/llvm/lldb/source/Expression/ |
| H A D | Materializer.cpp | 40 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()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | Indexing.cpp | 843 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Demangle/ |
| H A D | ItaniumDemangle.cpp | 453 Name = static_cast<const LocalName *>(Name)->Entity; in getFunctionBaseName() 496 Name = LN->Entity; in getFunctionDeclContextName() 578 N = static_cast<const LocalName *>(N)->Entity; in isCtorOrDtor()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | LLVMContextImpl.h | 1229 Metadata *Entity; 1235 MDNodeKeyImpl(unsigned Tag, Metadata *Scope, Metadata *Entity, Metadata *File, 1237 : Tag(Tag), Scope(Scope), Entity(Entity), File(File), Line(Line), 1240 : Tag(N->getTag()), Scope(N->getRawScope()), Entity(N->getRawEntity()), 1246 Entity == RHS->getRawEntity() && File == RHS->getFile() && 1252 return hash_combine(Tag, Scope, Entity, File, Line, Name, Elements);
|
| /openbsd-src/gnu/llvm/lld/ |
| H A D | LICENSE.TXT | 19 "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
|
| /openbsd-src/gnu/llvm/libcxxabi/ |
| H A D | LICENSE.TXT | 19 "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
|
| /openbsd-src/gnu/llvm/llvm/utils/lit/ |
| H A D | LICENSE.TXT | 19 "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
|
| /openbsd-src/gnu/llvm/libunwind/ |
| H A D | LICENSE.TXT | 19 "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
|
| /openbsd-src/gnu/llvm/lldb/ |
| H A D | LICENSE.TXT | 19 "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
|
| /openbsd-src/gnu/llvm/clang/tools/clang-format-vs/ClangFormat/ |
| H A D | license.txt | 19 "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
|