Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp416 LookupResult Found(*this, IdInfo.Identifier, IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
504 SS.Extend(Context, IdInfo.Identifier, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
582 Diag(IdInfo.IdentifierLoc, diag::ext_nested_name_spec_is_enum); in BuildCXXNestedNameSpecifier()
599 LookupResult FoundOuter(*this, IdInfo.Identifier, IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
615 Diag(IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
639 SS.Extend(Context, Namespace, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
644 SS.Extend(Context, Alias, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
652 Diag(IdInfo.IdentifierLoc, diag::warn_cxx98_compat_enum_nested_name_spec); in BuildCXXNestedNameSpecifier()
657 TLB.pushTypeSpec(T).setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
661 InjectedTL.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.cpp80 IdentifierLoc *PragmaNameLoc = A.getArgAsIdent(0); in handleLoopHintAttr()
81 IdentifierLoc *OptionLoc = A.getArgAsIdent(1); in handleLoopHintAttr()
82 IdentifierLoc *StateLoc = A.getArgAsIdent(2); in handleLoopHintAttr()
H A DSemaHLSL.cpp447 IdentifierLoc *Loc = AL.getArgAsIdent(0); in handleResourceClassAttr()
472 IdentifierLoc *Loc = AL.getArgAsIdent(0); in handleResourceBindingAttr()
485 IdentifierLoc *Loc = AL.getArgAsIdent(1); in handleResourceBindingAttr()
H A DSemaSwift.cpp165 IdentifierLoc *Loc = AL.getArgAsIdent(0); in handleError()
283 IdentifierLoc *IDLoc = AL.getArgAsIdent(0); in handleAsyncError()
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.cpp136 IdentifierLoc *Loc = AL.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr()
784 return Union.get<IdentifierLoc *>()->Loc; in handleDiagnoseAsBuiltinAttr()
959 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleConsumableAttr()
1004 IdentifierLoc *Ident = AL.getArgAsIdent(ArgIndex); in handleCallableWhenAttr()
1029 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleParamTypestateAttr()
1063 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleReturnTypestateAttr()
1110 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleSetTypestateAttr()
1132 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleTestTypestateAttr()
1764 IdentifierLoc *CPUArg = AL.getArgAsIdent(ArgNo); in handleCPUSpecificAttr()
2254 IdentifierLoc *Platform = AL.getArgAsIdent(0); in handleAvailabilityAttr()
[all …]
H A DSemaObjC.cpp1642 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleMethodFamilyAttr()
1998 IdentifierLoc *IdentLoc = in handleNSErrorDomain()
2026 IdentifierLoc *Parm = AL.isArgIdent(0) ? AL.getArgAsIdent(0) : nullptr; in handleBridgeAttr()
2053 IdentifierLoc *Parm = AL.isArgIdent(0) ? AL.getArgAsIdent(0) : nullptr; in handleBridgeMutableAttr()
H A DSemaType.cpp5690 IdentifierLoc *Arg = new (S.Context) IdentifierLoc; in transferARCOwnershipToDeclaratorChunk()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h43 struct IdentifierLoc;
72 const IdentifierLoc *EnvironmentLoc;
77 const Expr *ReplaceExpr, const IdentifierLoc *EnvironmentLoc) in AvailabilityData()
103 struct IdentifierLoc { struct
107 static IdentifierLoc *create(ASTContext &Ctx, SourceLocation Loc, argument
113 using ArgsUnion = llvm::PointerUnion<Expr *, IdentifierLoc *>;
236 IdentifierLoc *Parm, const AvailabilityChange &introduced, in ParsedAttr()
240 const Expr *replacementExpr, const IdentifierLoc *environmentLoc) in ParsedAttr()
257 IdentifierLoc *Parm1, IdentifierLoc *Parm2, IdentifierLoc *Parm3, in ParsedAttr()
273 IdentifierLoc *ArgKind, ParsedType matchingCType, in ParsedAttr()
[all …]
H A DDeclSpec.h125 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
H A DSema.h2819 SourceLocation IdentifierLoc; member
2828 : ObjectType(ObjectType), Identifier(II), IdentifierLoc(IdLoc), in ObjectType()
2834 IdentifierLoc(IdLoc), CCLoc(ColonColonLoc) {} in NestedNameSpecInfo()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp63 SourceLocation IdentifierLoc = ConsumeToken(); in ParseHLSLBuffer() local
76 Identifier, IdentifierLoc, in ParseHLSLBuffer()
86 if (!validateDeclsInsideHLSLBuffer(Result, IdentifierLoc, IsCBuffer, in ParseHLSLBuffer()
118 Slot = IdentifierLoc::create(Ctx, ArgLoc, PP.getIdentifierInfo(FixedArg)); in fixSeparateAttrArgAndNumber()
H A DParser.cpp1873 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateName() local
1876 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateName()
2150 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
2153 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
H A DParseDecl.cpp402 IdentifierLoc *Parser::ParseIdentifierLoc() { in ParseIdentifierLoc()
404 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
1307 IdentifierLoc *EnvironmentLoc = nullptr; in ParseAvailabilityAttribute()
1322 IdentifierLoc *Platform = ParseIdentifierLoc(); in ParseAvailabilityAttribute()
1559 IdentifierLoc *GeneratedDeclaration = nullptr; in ParseExternalSourceSymbolAttribute()
1684 IdentifierLoc *RelatedClass = ParseIdentifierLoc(); in ParseObjCBridgeRelatedAttribute()
1693 IdentifierLoc *ClassMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1713 IdentifierLoc *InstanceMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1762 auto *SwiftType = IdentifierLoc::create(Actions.Context, Tok.getLocation(), in ParseSwiftNewTypeAttribute()
1791 IdentifierLoc *ArgumentKind = ParseIdentifierLoc(); in ParseTypeTagForDatatypeAttribute()
H A DParsePragma.cpp1422 Hint.PragmaNameLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
1430 Hint.OptionLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
1511 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1533 IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1557 IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
H A DParseExpr.cpp3944 IdentifierLoc *PlatformIdentifier = ParseIdentifierLoc(); in ParseAvailabilitySpec()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DNestedNameSpecifier.cpp578 SourceLocation IdentifierLoc, in Extend() argument
584 SaveSourceLocation(IdentifierLoc, Buffer, BufferSize, BufferCapacity); in Extend()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DNestedNameSpecifier.h418 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp2669 const SourceLocation IdentifierLoc = getVarDeclIdentifierLoc(D); in fixVarDeclWithArray() local
2674 getRangeText({D->getBeginLoc(), IdentifierLoc}, Ctx.getSourceManager(), in fixVarDeclWithArray()
2682 IdentifierLoc, Ctx.getSourceManager(), Ctx.getLangOpts()); in fixVarDeclWithArray()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2953 IdentifierLoc *ParseIdentifierLoc();