Home
last modified time | relevance | path

Searched refs:IdentifierLoc (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp704 Diag(IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
746 TLB.pushTypeSpec(T).setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
750 InjectedTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
753 RecordTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
756 TypedefTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
759 EnumTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
763 TemplateTypeTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
767 UnresolvedTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
771 TL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
775 TL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
[all …]
H A DParsedAttr.cpp31 IdentifierLoc *IdentifierLoc::create(ASTContext &Ctx, SourceLocation Loc, in LLVM_INSTANTIATE_REGISTRY()
33 IdentifierLoc *Result = new (Ctx) IdentifierLoc; in LLVM_INSTANTIATE_REGISTRY()
H A DSemaStmtAttr.cpp73 IdentifierLoc *PragmaNameLoc = A.getArgAsIdent(0); in handleLoopHintAttr()
74 IdentifierLoc *OptionLoc = A.getArgAsIdent(1); in handleLoopHintAttr()
75 IdentifierLoc *StateLoc = A.getArgAsIdent(2); in handleLoopHintAttr()
H A DDeclSpec.cpp65 SourceLocation IdentifierLoc, in Extend() argument
67 Builder.Extend(Context, Identifier, IdentifierLoc, ColonColonLoc); in Extend()
70 Range.setBegin(IdentifierLoc); in Extend()
H A DSemaDeclAttr.cpp367 IdentifierLoc *Loc = AL.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr()
1029 return Union.get<IdentifierLoc *>()->Loc; in handleDiagnoseAsBuiltinAttr()
1204 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleConsumableAttr()
1274 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleParamTypestateAttr()
1308 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleReturnTypestateAttr()
1355 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleSetTypestateAttr()
1377 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleTestTypestateAttr()
2600 IdentifierLoc *Platform = AL.getArgAsIdent(0); in handleAvailabilityAttr()
2955 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleObjCMethodFamilyAttr()
6190 IdentifierLoc *Loc = AL.getArgAsIdent(0); in handleSwiftError()
[all …]
H A DSemaType.cpp5889 IdentifierLoc *Arg = new (S.Context) IdentifierLoc; in transferARCOwnershipToDeclaratorChunk()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DLoopHint.h26 IdentifierLoc *PragmaNameLoc;
30 IdentifierLoc *OptionLoc;
33 IdentifierLoc *StateLoc;
H A DParser.h2750 IdentifierLoc *ParseIdentifierLoc();
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DParsedAttr.h211 struct IdentifierLoc { struct
221 using ArgsUnion = llvm::PointerUnion<Expr *, IdentifierLoc *>;
358 IdentifierLoc *Parm1, IdentifierLoc *Parm2, IdentifierLoc *Parm3, in ParsedAttr()
375 IdentifierLoc *ArgKind, ParsedType matchingCType, in ParsedAttr()
508 return Arg < NumArgs && getArg(Arg).is<IdentifierLoc*>(); in isArgIdent()
511 IdentifierLoc *getArgAsIdent(unsigned Arg) const { in getArgAsIdent()
512 return getArg(Arg).get<IdentifierLoc*>(); in getArgAsIdent()
863 IdentifierLoc *Param1, IdentifierLoc *Param2, in create()
876 IdentifierLoc *argumentKind, in createTypeTagForDatatype()
1073 IdentifierLoc *Param1, IdentifierLoc *Param2, in addNew()
[all …]
H A DDeclSpec.h107 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
H A DSema.h6777 SourceLocation IdentifierLoc; member
6785 : ObjectType(ObjectType), Identifier(II), IdentifierLoc(IdLoc), in ObjectType()
6792 IdentifierLoc(IdLoc), CCLoc(ColonColonLoc) { in NestedNameSpecInfo()
/llvm-project-15.0.7/clang/lib/AST/
H A DNestedNameSpecifier.cpp578 SourceLocation IdentifierLoc, in Extend() argument
584 SaveSourceLocation(IdentifierLoc, Buffer, BufferSize, BufferCapacity); in Extend()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DNestedNameSpecifier.h418 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
/llvm-project-15.0.7/clang/lib/Parse/
H A DParser.cpp1769 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateName() local
1772 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateName()
2037 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
2040 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
H A DParseDecl.cpp324 IdentifierLoc *Parser::ParseIdentifierLoc() { in ParseIdentifierLoc()
326 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
1112 IdentifierLoc *Platform = ParseIdentifierLoc(); in ParseAvailabilityAttribute()
1343 IdentifierLoc *GeneratedDeclaration = nullptr; in ParseExternalSourceSymbolAttribute()
1451 IdentifierLoc *RelatedClass = ParseIdentifierLoc(); in ParseObjCBridgeRelatedAttribute()
1460 IdentifierLoc *ClassMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1480 IdentifierLoc *InstanceMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1529 auto *SwiftType = IdentifierLoc::create(Actions.Context, Tok.getLocation(), in ParseSwiftNewTypeAttribute()
1561 IdentifierLoc *ArgumentKind = ParseIdentifierLoc(); in ParseTypeTagForDatatypeAttribute()
H A DParsePragma.cpp1261 Hint.PragmaNameLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
1269 Hint.OptionLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
1350 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1372 IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1396 IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
H A DParseExpr.cpp3689 IdentifierLoc *PlatformIdentifier = ParseIdentifierLoc(); in ParseAvailabilitySpec()