Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp483 SourceLocation IdentifierLoc, in BuildCXXNestedNameSpecifier() argument
491 LookupResult Found(*this, &Identifier, IdentifierLoc, in BuildCXXNestedNameSpecifier()
577 SS.Extend(Context, &Identifier, IdentifierLoc, CCLoc); in BuildCXXNestedNameSpecifier()
652 Diag(IdentifierLoc, diag::ext_nested_name_spec_is_enum); in BuildCXXNestedNameSpecifier()
669 LookupResult FoundOuter(*this, &Identifier, IdentifierLoc, in BuildCXXNestedNameSpecifier()
685 Diag(IdentifierLoc, in BuildCXXNestedNameSpecifier()
710 SS.Extend(Context, Namespace, IdentifierLoc, CCLoc); in BuildCXXNestedNameSpecifier()
715 SS.Extend(Context, Alias, IdentifierLoc, CCLoc); in BuildCXXNestedNameSpecifier()
725 InjectedTL.setNameLoc(IdentifierLoc); in BuildCXXNestedNameSpecifier()
728 RecordTL.setNameLoc(IdentifierLoc); in BuildCXXNestedNameSpecifier()
[all …]
DAttributeList.cpp26 IdentifierLoc *IdentifierLoc::create(ASTContext &Ctx, SourceLocation Loc, in create()
28 IdentifierLoc *Result = new (Ctx) IdentifierLoc; in create()
DSemaStmtAttr.cpp58 IdentifierLoc *PragmaNameLoc = A.getArgAsIdent(0); in handleLoopHintAttr()
59 IdentifierLoc *OptionLoc = A.getArgAsIdent(1); in handleLoopHintAttr()
60 IdentifierLoc *StateLoc = A.getArgAsIdent(2); in handleLoopHintAttr()
DDeclSpec.cpp59 SourceLocation IdentifierLoc, in Extend() argument
61 Builder.Extend(Context, Identifier, IdentifierLoc, ColonColonLoc); in Extend()
64 Range.setBegin(IdentifierLoc); in Extend()
DSemaDeclAttr.cpp319 IdentifierLoc *Loc = Attr.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr()
878 IdentifierLoc *IL = Attr.getArgAsIdent(0); in handleConsumableAttr()
928 IdentifierLoc *Ident = Attr.getArgAsIdent(ArgIndex); in handleCallableWhenAttr()
956 IdentifierLoc *Ident = Attr.getArgAsIdent(0); in handleParamTypestateAttr()
993 IdentifierLoc *IL = Attr.getArgAsIdent(0); in handleReturnTypestateAttr()
1042 IdentifierLoc *Ident = Attr.getArgAsIdent(0); in handleSetTypestateAttr()
1067 IdentifierLoc *Ident = Attr.getArgAsIdent(0); in handleTestTypestateAttr()
2127 IdentifierLoc *Platform = Attr.getArgAsIdent(0); in handleAvailabilityAttr()
2334 IdentifierLoc *IL = Attr.getArgAsIdent(0); in handleObjCMethodFamilyAttr()
4437 IdentifierLoc * Parm = Attr.isArgIdent(0) ? Attr.getArgAsIdent(0) : nullptr; in handleObjCBridgeAttr()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaCXXScopeSpec.cpp386 LookupResult Found(*this, IdInfo.Identifier, IdInfo.IdentifierLoc, in isNonTypeNestedNameSpecifier()
491 LookupResult Found(*this, IdInfo.Identifier, IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
579 SS.Extend(Context, IdInfo.Identifier, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
657 Diag(IdInfo.IdentifierLoc, diag::ext_nested_name_spec_is_enum); in BuildCXXNestedNameSpecifier()
674 LookupResult FoundOuter(*this, IdInfo.Identifier, IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
690 Diag(IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
714 SS.Extend(Context, Namespace, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
719 SS.Extend(Context, Alias, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
729 InjectedTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
732 RecordTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
[all …]
DParsedAttr.cpp31 IdentifierLoc *IdentifierLoc::create(ASTContext &Ctx, SourceLocation Loc, in LLVM_INSTANTIATE_REGISTRY()
33 IdentifierLoc *Result = new (Ctx) IdentifierLoc; in LLVM_INSTANTIATE_REGISTRY()
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()
DDeclSpec.cpp65 SourceLocation IdentifierLoc, in Extend() argument
67 Builder.Extend(Context, Identifier, IdentifierLoc, ColonColonLoc); in Extend()
70 Range.setBegin(IdentifierLoc); in Extend()
DSemaDeclAttr.cpp375 IdentifierLoc *Loc = AL.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr()
1161 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleConsumableAttr()
1206 IdentifierLoc *Ident = AL.getArgAsIdent(ArgIndex); in handleCallableWhenAttr()
1231 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleParamTypestateAttr()
1265 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleReturnTypestateAttr()
1312 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleSetTypestateAttr()
1334 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleTestTypestateAttr()
1954 IdentifierLoc *CPUArg = AL.getArgAsIdent(ArgNo); in handleCPUSpecificAttr()
2421 IdentifierLoc *Platform = AL.getArgAsIdent(0); in handleAvailabilityAttr()
2657 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleObjCMethodFamilyAttr()
[all …]
/external/clang/include/clang/Sema/
DAttributeList.h72 struct IdentifierLoc { struct
76 static IdentifierLoc *create(ASTContext &Ctx, SourceLocation Loc, argument
82 typedef llvm::PointerUnion<Expr*, IdentifierLoc*> ArgsUnion;
254 IdentifierLoc *Parm, const AvailabilityChange &introduced, in AttributeList()
277 IdentifierLoc *Parm1, in AttributeList()
278 IdentifierLoc *Parm2, in AttributeList()
279 IdentifierLoc *Parm3, in AttributeList()
296 IdentifierLoc *ArgKind, ParsedType matchingCType, in AttributeList()
426 return Arg < NumArgs && getArg(Arg).is<IdentifierLoc*>(); in isArgIdent()
428 IdentifierLoc *getArgAsIdent(unsigned Arg) const { in getArgAsIdent()
[all …]
DLoopHint.h27 IdentifierLoc *PragmaNameLoc;
31 IdentifierLoc *OptionLoc;
34 IdentifierLoc *StateLoc;
/external/llvm-project/clang/include/clang/Parse/
DLoopHint.h26 IdentifierLoc *PragmaNameLoc;
30 IdentifierLoc *OptionLoc;
33 IdentifierLoc *StateLoc;
/external/llvm-project/clang/include/clang/Sema/
DParsedAttr.h174 struct IdentifierLoc { struct
178 static IdentifierLoc *create(ASTContext &Ctx, SourceLocation Loc, argument
184 using ArgsUnion = llvm::PointerUnion<Expr *, IdentifierLoc *>;
300 IdentifierLoc *Parm, const AvailabilityChange &introduced, in ParsedAttr()
321 IdentifierLoc *Parm1, IdentifierLoc *Parm2, IdentifierLoc *Parm3, in ParsedAttr()
338 IdentifierLoc *ArgKind, ParsedType matchingCType, in ParsedAttr()
471 return Arg < NumArgs && getArg(Arg).is<IdentifierLoc*>(); in isArgIdent()
474 IdentifierLoc *getArgAsIdent(unsigned Arg) const { in getArgAsIdent()
475 return getArg(Arg).get<IdentifierLoc*>(); in getArgAsIdent()
758 IdentifierLoc *Param, const AvailabilityChange &introduced, in create()
[all …]
DDeclSpec.h107 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
/external/clang/include/clang/AST/
DNestedNameSpecifier.h404 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
/external/clang/lib/AST/
DNestedNameSpecifier.cpp564 SourceLocation IdentifierLoc, in Extend() argument
570 SaveSourceLocation(IdentifierLoc, Buffer, BufferSize, BufferCapacity); in Extend()
/external/llvm-project/clang/lib/AST/
DNestedNameSpecifier.cpp575 SourceLocation IdentifierLoc, in Extend() argument
581 SaveSourceLocation(IdentifierLoc, Buffer, BufferSize, BufferCapacity); in Extend()
/external/llvm-project/clang/include/clang/AST/
DNestedNameSpecifier.h418 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
/external/clang/lib/Parse/
DParser.cpp1490 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateName() local
1493 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateName()
1721 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
1724 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
DParseDecl.cpp233 IdentifierLoc *Parser::ParseIdentifierLoc() { in ParseIdentifierLoc()
235 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
882 IdentifierLoc *Platform = ParseIdentifierLoc(); in ParseAvailabilityAttribute()
1091 IdentifierLoc *RelatedClass = ParseIdentifierLoc(); in ParseObjCBridgeRelatedAttribute()
1098 IdentifierLoc *ClassMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1117 IdentifierLoc *InstanceMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1307 IdentifierLoc *ArgumentKind = ParseIdentifierLoc(); in ParseTypeTagForDatatypeAttribute()
DParsePragma.cpp799 Hint.PragmaNameLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
807 Hint.OptionLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
872 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
/external/llvm-project/clang/lib/Parse/
DParser.cpp1709 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateName() local
1712 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateName()
1972 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
1975 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
DParseDecl.cpp293 IdentifierLoc *Parser::ParseIdentifierLoc() { in ParseIdentifierLoc()
295 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
1025 IdentifierLoc *Platform = ParseIdentifierLoc(); in ParseAvailabilityAttribute()
1256 IdentifierLoc *GeneratedDeclaration = nullptr; in ParseExternalSourceSymbolAttribute()
1367 IdentifierLoc *RelatedClass = ParseIdentifierLoc(); in ParseObjCBridgeRelatedAttribute()
1376 IdentifierLoc *ClassMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1396 IdentifierLoc *InstanceMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1449 auto *SwiftType = IdentifierLoc::create(Actions.Context, Tok.getLocation(), in ParseSwiftNewTypeAttribute()
1482 IdentifierLoc *ArgumentKind = ParseIdentifierLoc(); in ParseTypeTagForDatatypeAttribute()
DParsePragma.cpp1100 Hint.PragmaNameLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
1108 Hint.OptionLoc = IdentifierLoc::create( in HandlePragmaLoopHint()
1189 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()

12