Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DLoopHint.h17 struct IdentifierLoc;
26 IdentifierLoc *PragmaNameLoc = nullptr;
30 IdentifierLoc *OptionLoc = nullptr;
33 IdentifierLoc *StateLoc = nullptr;
H A DParser.h2889 IdentifierLoc *ParseIdentifierLoc();
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp680 Diag(IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
722 TLB.pushTypeSpec(T).setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
726 InjectedTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
729 RecordTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
732 TypedefTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
735 EnumTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
739 TemplateTypeTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
743 UnresolvedTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
747 TL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
751 TL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
[all …]
H A DParsedAttr.cpp28 IdentifierLoc *IdentifierLoc::create(ASTContext &Ctx, SourceLocation Loc, in create()
30 IdentifierLoc *Result = new (Ctx) IdentifierLoc; in create()
H A DSemaStmtAttr.cpp79 IdentifierLoc *PragmaNameLoc = A.getArgAsIdent(0); in handleLoopHintAttr()
80 IdentifierLoc *OptionLoc = A.getArgAsIdent(1); in handleLoopHintAttr()
81 IdentifierLoc *StateLoc = A.getArgAsIdent(2); in handleLoopHintAttr()
H A DDeclSpec.cpp66 SourceLocation IdentifierLoc, in Extend() argument
68 Builder.Extend(Context, Identifier, IdentifierLoc, ColonColonLoc); in Extend()
71 Range.setBegin(IdentifierLoc); in Extend()
H A DSemaDeclAttr.cpp1044 return Union.get<IdentifierLoc *>()->Loc; in handleDiagnoseAsBuiltinAttr()
1219 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleConsumableAttr()
1289 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleParamTypestateAttr()
1323 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleReturnTypestateAttr()
2987 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleObjCMethodFamilyAttr()
6245 IdentifierLoc *IdentLoc = in handleNSErrorDomain()
6523 IdentifierLoc *Loc = AL.getArgAsIdent(0); in handleSwiftError()
6639 IdentifierLoc *IDLoc = AL.getArgAsIdent(0); in handleSwiftAsyncError()
7280 IdentifierLoc *Loc = AL.getArgAsIdent(0); in handleHLSLResourceBindingAttr()
7293 IdentifierLoc *Loc = AL.getArgAsIdent(1); in handleHLSLResourceBindingAttr()
[all …]
H A DSemaType.cpp6118 IdentifierLoc *Arg = new (S.Context) IdentifierLoc; in transferARCOwnershipToDeclaratorChunk()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h98 struct IdentifierLoc { struct
108 using ArgsUnion = llvm::PointerUnion<Expr *, IdentifierLoc *>;
243 IdentifierLoc *Parm1, IdentifierLoc *Parm2, IdentifierLoc *Parm3, in ParsedAttr()
259 IdentifierLoc *ArgKind, ParsedType matchingCType, in ParsedAttr()
389 return Arg < NumArgs && getArg(Arg).is<IdentifierLoc*>(); in isArgIdent()
392 IdentifierLoc *getArgAsIdent(unsigned Arg) const { in getArgAsIdent()
393 return getArg(Arg).get<IdentifierLoc*>(); in getArgAsIdent()
761 IdentifierLoc *Param1, IdentifierLoc *Param2, in create()
774 IdentifierLoc *argumentKind, in createTypeTagForDatatype()
996 IdentifierLoc *Param1, IdentifierLoc *Param2, in addNew()
[all …]
H A DDeclSpec.h124 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
H A DSema.h7082 SourceLocation IdentifierLoc; member
7090 : ObjectType(ObjectType), Identifier(II), IdentifierLoc(IdLoc), in ObjectType()
7097 IdentifierLoc(IdLoc), CCLoc(ColonColonLoc) { in NestedNameSpecInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp62 SourceLocation IdentifierLoc = ConsumeToken(); in ParseHLSLBuffer() local
75 Identifier, IdentifierLoc, in ParseHLSLBuffer()
85 if (!validateDeclsInsideHLSLBuffer(Result, IdentifierLoc, IsCBuffer, in ParseHLSLBuffer()
117 Slot = IdentifierLoc::create(Ctx, ArgLoc, PP.getIdentifierInfo(FixedArg)); in fixSeparateAttrArgAndNumber()
H A DParser.cpp1863 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateName() local
1866 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateName()
2129 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
2132 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
H A DParseDecl.cpp348 IdentifierLoc *Parser::ParseIdentifierLoc() { in ParseIdentifierLoc()
350 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
1235 IdentifierLoc *Platform = ParseIdentifierLoc(); in ParseAvailabilityAttribute()
1452 IdentifierLoc *GeneratedDeclaration = nullptr; in ParseExternalSourceSymbolAttribute()
1577 IdentifierLoc *RelatedClass = ParseIdentifierLoc(); in ParseObjCBridgeRelatedAttribute()
1586 IdentifierLoc *ClassMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1606 IdentifierLoc *InstanceMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1655 auto *SwiftType = IdentifierLoc::create(Actions.Context, Tok.getLocation(), in ParseSwiftNewTypeAttribute()
1684 IdentifierLoc *ArgumentKind = ParseIdentifierLoc(); in ParseTypeTagForDatatypeAttribute()
H A DParsePragma.cpp1414 Hint.PragmaNameLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
1422 Hint.OptionLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
1503 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1525 IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1549 IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
H A DParseExpr.cpp3843 IdentifierLoc *PlatformIdentifier = ParseIdentifierLoc(); in ParseAvailabilitySpec()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DNestedNameSpecifier.cpp578 SourceLocation IdentifierLoc, in Extend() argument
584 SaveSourceLocation(IdentifierLoc, Buffer, BufferSize, BufferCapacity); in Extend()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DNestedNameSpecifier.h418 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);