Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp400 LookupResult Found(*this, IdInfo.Identifier, IdInfo.IdentifierLoc, in isNonTypeNestedNameSpecifier()
505 LookupResult Found(*this, IdInfo.Identifier, IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
593 SS.Extend(Context, IdInfo.Identifier, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
671 Diag(IdInfo.IdentifierLoc, diag::ext_nested_name_spec_is_enum); in BuildCXXNestedNameSpecifier()
688 LookupResult FoundOuter(*this, IdInfo.Identifier, IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
704 Diag(IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
728 SS.Extend(Context, Namespace, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
733 SS.Extend(Context, Alias, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
741 Diag(IdInfo.IdentifierLoc, diag::warn_cxx98_compat_enum_nested_name_spec); in BuildCXXNestedNameSpecifier()
746 TLB.pushTypeSpec(T).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.cpp74 IdentifierLoc *PragmaNameLoc = A.getArgAsIdent(0); in handleLoopHintAttr()
75 IdentifierLoc *OptionLoc = A.getArgAsIdent(1); in handleLoopHintAttr()
76 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.cpp368 IdentifierLoc *Loc = AL.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr()
1030 return Union.get<IdentifierLoc *>()->Loc; in handleDiagnoseAsBuiltinAttr()
1205 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleConsumableAttr()
1250 IdentifierLoc *Ident = AL.getArgAsIdent(ArgIndex); in handleCallableWhenAttr()
1275 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleParamTypestateAttr()
1309 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleReturnTypestateAttr()
1356 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleSetTypestateAttr()
1378 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleTestTypestateAttr()
2098 IdentifierLoc *CPUArg = AL.getArgAsIdent(ArgNo); in handleCPUSpecificAttr()
2604 IdentifierLoc *Platform = AL.getArgAsIdent(0); in handleAvailabilityAttr()
[all …]
H A DSemaType.cpp5968 IdentifierLoc *Arg = new (S.Context) IdentifierLoc; in transferARCOwnershipToDeclaratorChunk()
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DLoopHint.h26 IdentifierLoc *PragmaNameLoc;
30 IdentifierLoc *OptionLoc;
33 IdentifierLoc *StateLoc;
H A DParser.h2826 IdentifierLoc *ParseIdentifierLoc();
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DParsedAttr.h211 struct IdentifierLoc { struct
215 static IdentifierLoc *create(ASTContext &Ctx, SourceLocation Loc, argument
221 using ArgsUnion = llvm::PointerUnion<Expr *, IdentifierLoc *>;
337 IdentifierLoc *Parm, const AvailabilityChange &introduced, in ParsedAttr()
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()
860 IdentifierLoc *Param, const AvailabilityChange &introduced, in create()
[all …]
H A DDeclSpec.h108 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
H A DSema.h6930 SourceLocation IdentifierLoc; member
6938 : ObjectType(ObjectType), Identifier(II), IdentifierLoc(IdLoc), in ObjectType()
6945 IdentifierLoc(IdLoc), CCLoc(ColonColonLoc) { in NestedNameSpecInfo()
/openbsd-src/gnu/llvm/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.cpp1808 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateName() local
1811 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateName()
2080 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
2083 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
H A DParseDecl.cpp324 IdentifierLoc *Parser::ParseIdentifierLoc() { in ParseIdentifierLoc()
326 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
1121 IdentifierLoc *Platform = ParseIdentifierLoc(); in ParseAvailabilityAttribute()
1352 IdentifierLoc *GeneratedDeclaration = nullptr; in ParseExternalSourceSymbolAttribute()
1460 IdentifierLoc *RelatedClass = ParseIdentifierLoc(); in ParseObjCBridgeRelatedAttribute()
1469 IdentifierLoc *ClassMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1489 IdentifierLoc *InstanceMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1538 auto *SwiftType = IdentifierLoc::create(Actions.Context, Tok.getLocation(), in ParseSwiftNewTypeAttribute()
1570 IdentifierLoc *ArgumentKind = ParseIdentifierLoc(); in ParseTypeTagForDatatypeAttribute()
H A DParsePragma.cpp1315 Hint.PragmaNameLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
1323 Hint.OptionLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
1404 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1426 IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1450 IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
H A DParseExpr.cpp3723 IdentifierLoc *PlatformIdentifier = ParseIdentifierLoc(); in ParseAvailabilitySpec()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DNestedNameSpecifier.cpp578 SourceLocation IdentifierLoc, in Extend() argument
584 SaveSourceLocation(IdentifierLoc, Buffer, BufferSize, BufferCapacity); in Extend()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DNestedNameSpecifier.h418 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);