Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaAccess.cpp163 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 DSemaInit.cpp300 void CheckImplicitInitList(const InitializedEntity &Entity,
304 void CheckExplicitInitList(const InitializedEntity &Entity,
308 void CheckListElementTypes(const InitializedEntity &Entity,
315 void CheckSubElementType(const InitializedEntity &Entity,
321 void CheckComplexType(const InitializedEntity &Entity,
326 void CheckScalarType(const InitializedEntity &Entity,
331 void CheckReferenceType(const InitializedEntity &Entity,
336 void CheckVectorType(const InitializedEntity &Entity,
340 void CheckStructUnionTypes(const InitializedEntity &Entity,
348 void CheckArrayType(const InitializedEntity &Entity,
[all …]
H A DSemaTemplateInstantiate.cpp238 Decl *Entity, NamedDecl *Template, ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument
254 Inst.Entity = Entity; in InstantiatingTemplate()
262 AlreadyInstantiating = !Inst.Entity ? false : in InstantiatingTemplate()
264 .insert({Inst.Entity->getCanonicalDecl(), Inst.Kind}) in InstantiatingTemplate()
271 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, in InstantiatingTemplate() argument
275 PointOfInstantiation, InstantiationRange, Entity) {} in InstantiatingTemplate()
278 Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity, in InstantiatingTemplate() argument
282 PointOfInstantiation, InstantiationRange, Entity) {} in InstantiatingTemplate()
481 if (Active.Entity) in Clear()
483 {Active.Entity->getCanonicalDecl(), Active.Kind}); in Clear()
[all …]
H A DSemaCoroutine.cpp600 InitializedEntity Entity = InitializedEntity::InitializeVariable(VD); in buildCoroutinePromise() local
603 InitializationSequence InitSeq(*this, Entity, Kind, CtorArgExprs, in buildCoroutinePromise()
610 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, CtorArgExprs); in buildCoroutinePromise()
1002 InitializedEntity Entity = in BuildCoreturnStmt() local
1005 Entity, NRVOCandidate, E->getType(), E); in BuildCoreturnStmt()
1571 InitializedEntity Entity = in makeGroDeclAndReturnStmt() local
1573 S.PerformMoveOrCopyInitialization(Entity, nullptr, FnRetType, ReturnValue); in makeGroDeclAndReturnStmt()
1588 InitializedEntity Entity = InitializedEntity::InitializeVariable(GroDecl); in makeGroDeclAndReturnStmt() local
1589 ExprResult Res = S.PerformMoveOrCopyInitialization(Entity, nullptr, GroType, in makeGroDeclAndReturnStmt()
H A DSemaTemplate.cpp6249 Decl *Entity = nullptr) { in isNullPointerValueTemplateArgument() argument
6255 if (Entity && Entity->hasAttr<DLLImportAttr>()) in isNullPointerValueTemplateArgument()
6496 ValueDecl *Entity = nullptr; in CheckTemplateArgumentAddressOfObjectOrFunction() local
6498 Entity = DRE->getDecl(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6500 Entity = CUE->getGuidDecl(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6505 Entity)) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6527 if (!Entity) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6535 if (isa<FieldDecl>(Entity) || isa<IndirectFieldDecl>(Entity)) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6537 << Entity << Arg->getSourceRange(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6543 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Entity)) { in CheckTemplateArgumentAddressOfObjectOrFunction()
[all …]
H A DSemaLookup.cpp1519 static Module *getDefiningModule(Sema &S, Decl *Entity) { in getDefiningModule() argument
1520 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Entity)) { in getDefiningModule()
1524 Entity = Pattern; in getDefiningModule()
1525 } else if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(Entity)) { in getDefiningModule()
1527 Entity = Pattern; in getDefiningModule()
1528 } else if (EnumDecl *ED = dyn_cast<EnumDecl>(Entity)) { in getDefiningModule()
1530 Entity = Pattern; in getDefiningModule()
1531 } else if (VarDecl *VD = dyn_cast<VarDecl>(Entity)) { in getDefiningModule()
1533 Entity = Pattern; in getDefiningModule()
1538 DeclContext *Context = Entity->getLexicalDeclContext(); in getDefiningModule()
[all …]
H A DSemaExprCXX.cpp877 InitializedEntity Entity = InitializedEntity::InitializeException( in BuildCXXThrow() local
881 Entity, NRVOVariable, QualType(), Ex, IsThrownVarInScope); in BuildCXXThrow()
1439 InitializedEntity Entity = InitializedEntity::InitializeTemporary(TInfo); in BuildCXXTypeConstructExpr() local
1455 Ty = DeduceTemplateSpecializationFromInitializer(TInfo, Entity, in BuildCXXTypeConstructExpr()
1459 Entity = InitializedEntity::InitializeTemporary(TInfo, Ty); in BuildCXXTypeConstructExpr()
1509 InitializationSequence InitSeq(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr()
1510 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr()
1958 InitializedEntity Entity in BuildCXXNew() local
1961 AllocTypeInfo, Entity, Kind, MultiExprArg(Inits, NumInits)); in BuildCXXNew()
2314 InitializedEntity Entity in BuildCXXNew() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DInitialization.h266 InitializedEntity Entity; in InitializeParameter() local
267 Entity.Kind = EK_Parameter; in InitializeParameter()
268 Entity.Type = in InitializeParameter()
270 Entity.Parent = nullptr; in InitializeParameter()
271 Entity.Parameter = {Parm, Consumed}; in InitializeParameter()
272 return Entity; in InitializeParameter()
280 InitializedEntity Entity; in InitializeParameter() local
281 Entity.Kind = EK_Parameter; in InitializeParameter()
282 Entity.Type = Context.getVariableArrayDecayedType(Type); in InitializeParameter()
283 Entity.Parent = nullptr; in InitializeParameter()
[all …]
H A DScope.h205 DeclContext *Entity; variable
344 return isTemplateParamScope() ? nullptr : Entity; in getEntity()
349 DeclContext *getLookupEntity() const { return Entity; } in getLookupEntity()
354 Entity = E; in setEntity()
356 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()
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp1248 auto *Entity = Module->getEntity(); in constructImportedEntityDIE() local
1249 if (auto *NS = dyn_cast<DINamespace>(Entity)) in constructImportedEntityDIE()
1251 else if (auto *M = dyn_cast<DIModule>(Entity)) in constructImportedEntityDIE()
1253 else if (auto *SP = dyn_cast<DISubprogram>(Entity)) in constructImportedEntityDIE()
1255 else if (auto *T = dyn_cast<DIType>(Entity)) in constructImportedEntityDIE()
1257 else if (auto *GV = dyn_cast<DIGlobalVariable>(Entity)) in constructImportedEntityDIE()
1260 EntityDie = getDIE(Entity); in constructImportedEntityDIE()
1285 void DwarfCompileUnit::finishEntityDefinition(const DbgEntity *Entity) { in finishEntityDefinition() argument
1286 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition()
1288 auto *Die = Entity->getDIE(); in finishEntityDefinition()
[all …]
H A DDwarfDebug.h68 const DINode *Entity; variable
80 : Entity(N), InlinedAt(IA), SubclassID(ID) {} in DbgEntity()
85 const DINode *getEntity() const { return Entity; } in getEntity()
H A DDbgEntityHistoryCalculator.cpp147 InlinedEntity Entity = Record.first; in trimLocationRanges() local
148 const DILocalVariable *LocalVar = cast<DILocalVariable>(Entity.first); in trimLocationRanges()
151 if (const DILocation *InlinedAt = Entity.second) { in trimLocationRanges()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DIndexing.cpp840 const EntityInfo *Entity = static_cast<const EntityInfo *>(info); in clang_index_getClientEntity() local
841 return Entity->IndexCtx->getClientEntity(Entity->Dcl); in clang_index_getClientEntity()
848 const EntityInfo *Entity = static_cast<const EntityInfo *>(info); in clang_index_setClientEntity() local
849 Entity->IndexCtx->setClientEntity(Entity->Dcl, client); in clang_index_setClientEntity()
/netbsd-src/crypto/external/bsd/openssl/dist/
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
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Demangle/
H A DItaniumDemangle.cpp416 Name = static_cast<const LocalName *>(Name)->Entity; in getFunctionBaseName()
461 Name = LN->Entity; in getFunctionDeclContextName()
547 N = static_cast<const LocalName *>(N)->Entity; in isCtorOrDtor()
/netbsd-src/share/examples/refuse/ian/libfetch/
H A Dhttp.errors34 413 PROTO Request Entity Too Large
/netbsd-src/external/bsd/fetch/dist/libfetch/
H A Dhttp.errors35 413 PROTO Request Entity Too Large
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-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
/netbsd-src/external/gpl3/gcc/dist/libcody/
H A DLICENSE15 "Legal Entity" shall mean the union of the acting entity and all
23 "You" (or "Your") shall mean an individual or Legal Entity
52 or by an individual or Legal Entity authorized to submit on behalf of
62 "Contributor" shall mean Licensor and any individual or Legal Entity
/netbsd-src/external/zlib/pigz/dist/zopfli/
H A DCOPYING15 "Legal Entity" shall mean the union of the acting entity and all
23 "You" (or "Your") shall mean an individual or Legal Entity
52 or by an individual or Legal Entity authorized to submit on behalf of
62 "Contributor" shall mean Licensor and any individual or Legal Entity
/netbsd-src/external/apache2/
H A DLICENSE-2.016 "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
/netbsd-src/external/apache2/llvm/dist/llvm/utils/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
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DLLVMContextImpl.h1154 Metadata *Entity;
1159 MDNodeKeyImpl(unsigned Tag, Metadata *Scope, Metadata *Entity, Metadata *File,
1161 : Tag(Tag), Scope(Scope), Entity(Entity), File(File), Line(Line),
1164 : Tag(N->getTag()), Scope(N->getRawScope()), Entity(N->getRawEntity()),
1169 Entity == RHS->getRawEntity() && File == RHS->getFile() &&
1174 return hash_combine(Tag, Scope, Entity, File, Line, Name);

1234