Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp411 LookupResult Found(*this, IdInfo.Identifier, IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
499 SS.Extend(Context, IdInfo.Identifier, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
577 Diag(IdInfo.IdentifierLoc, diag::ext_nested_name_spec_is_enum); in BuildCXXNestedNameSpecifier()
594 LookupResult FoundOuter(*this, IdInfo.Identifier, IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
610 Diag(IdInfo.IdentifierLoc, in BuildCXXNestedNameSpecifier()
634 SS.Extend(Context, Namespace, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
639 SS.Extend(Context, Alias, IdInfo.IdentifierLoc, IdInfo.CCLoc); in BuildCXXNestedNameSpecifier()
647 Diag(IdInfo.IdentifierLoc, diag::warn_cxx98_compat_enum_nested_name_spec); in BuildCXXNestedNameSpecifier()
652 TLB.pushTypeSpec(T).setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
656 InjectedTL.setNameLoc(IdInfo.IdentifierLoc); in BuildCXXNestedNameSpecifier()
[all …]
H A DSemaModule.cpp424 IdentifierLoc ModuleNameLoc(Path[0].getLoc(), in ActOnModuleDecl()
586 IdentifierLoc ModuleNameLoc; in ActOnModuleImport()
599 IdentifierLoc(Path[0].getLoc(), PP.getIdentifierInfo(ModuleName)); in ActOnModuleImport()
604 IdentifierLoc(Path[0].getLoc(), PP.getIdentifierInfo(ModuleName)); in ActOnModuleImport()
H A DSemaStmtAttr.cpp76 IdentifierLoc *PragmaNameLoc = A.getArgAsIdent(0); in handleLoopHintAttr()
77 IdentifierLoc *OptionLoc = A.getArgAsIdent(1); in handleLoopHintAttr()
78 IdentifierLoc *StateLoc = A.getArgAsIdent(2); in handleLoopHintAttr()
648 IdentifierLoc *Ident = AL.getArgAsIdent(ArgIndex); in handleAtomicAttr()
H A DSemaSwift.cpp179 IdentifierLoc *Loc = AL.getArgAsIdent(0); in handleError()
297 IdentifierLoc *IDLoc = AL.getArgAsIdent(0); in handleAsyncError()
H A DDeclSpec.cpp63 SourceLocation IdentifierLoc, in Extend() argument
65 Builder.Extend(Context, Identifier, IdentifierLoc, ColonColonLoc); in Extend()
68 Range.setBegin(IdentifierLoc); in Extend()
H A DSemaDeclAttr.cpp137 IdentifierLoc *Loc = AL.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr()
771 return cast<IdentifierLoc *>(Union)->getLoc(); in handleDiagnoseAsBuiltinAttr()
976 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleConsumableAttr()
1021 IdentifierLoc *Ident = AL.getArgAsIdent(ArgIndex); in handleCallableWhenAttr()
1046 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleParamTypestateAttr()
1080 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleReturnTypestateAttr()
1127 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleSetTypestateAttr()
1149 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleTestTypestateAttr()
1880 IdentifierLoc *CPUArg = AL.getArgAsIdent(ArgNo); in handleCPUSpecificAttr()
2427 IdentifierLoc *Platform = AL.getArgAsIdent(0); in handleAvailabilityAttr()
[all …]
H A DSemaObjC.cpp1638 IdentifierLoc *IL = AL.getArgAsIdent(0); in handleMethodFamilyAttr()
1996 IdentifierLoc *IdentLoc = in handleNSErrorDomain()
2024 IdentifierLoc *Parm = AL.isArgIdent(0) ? AL.getArgAsIdent(0) : nullptr; in handleBridgeAttr()
2051 IdentifierLoc *Parm = AL.isArgIdent(0) ? AL.getArgAsIdent(0) : nullptr; in handleBridgeMutableAttr()
H A DSemaTemplateVariadic.cpp758 IdentifierLoc FirstPack; in CheckParameterPacksForExpansion()
870 FirstPack = IdentifierLoc(ParmPack.second, Name); in CheckParameterPacksForExpansion()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h71 const IdentifierLoc *EnvironmentLoc;
76 const Expr *ReplaceExpr, const IdentifierLoc *EnvironmentLoc) in AvailabilityData()
103 using ArgsUnion = llvm::PointerUnion<Expr *, IdentifierLoc *>;
221 AttributeScopeInfo scope, IdentifierLoc *Parm, in ParsedAttr()
226 const Expr *replacementExpr, const IdentifierLoc *environmentLoc) in ParsedAttr()
242 AttributeScopeInfo scope, IdentifierLoc *Parm1, in ParsedAttr()
243 IdentifierLoc *Parm2, IdentifierLoc *Parm3, Form formUsed) in ParsedAttr()
257 AttributeScopeInfo scope, IdentifierLoc *ArgKind, in ParsedAttr()
386 return Arg < NumArgs && isa<IdentifierLoc *>(getArg(Arg)); in isArgIdent()
389 IdentifierLoc *getArgAsIdent(unsigned Arg) const { in getArgAsIdent()
[all …]
H A DSemaCodeCompletion.h196 void CodeCompleteObjCProtocolReferences(ArrayRef<IdentifierLoc> Protocols);
H A DSemaObjC.h310 ArrayRef<IdentifierLoc> IdentList,
314 ArrayRef<IdentifierLoc> ProtocolId,
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DLoopHint.h26 IdentifierLoc *PragmaNameLoc = nullptr;
30 IdentifierLoc *OptionLoc = nullptr;
33 IdentifierLoc *StateLoc = nullptr;
H A DParser.h1082 SmallVectorImpl<IdentifierLoc> &Path, bool IsImport);
2263 IdentifierLoc *ParseIdentifierLoc();
5491 SmallVectorImpl<IdentifierLoc> &protocolIdents, SourceLocation &rAngleLoc,
6232 bool ParseOpenACCDeviceTypeList(llvm::SmallVector<IdentifierLoc> &Archs);
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp63 SourceLocation IdentifierLoc = ConsumeToken(); in ParseHLSLBuffer() local
76 Identifier, IdentifierLoc, in ParseHLSLBuffer()
87 if (!validateDeclsInsideHLSLBuffer(Result, IdentifierLoc, IsCBuffer, in ParseHLSLBuffer()
118 Slot = new (Ctx) IdentifierLoc(ArgLoc, PP.getIdentifierInfo(FixedArg)); in fixSeparateAttrArgAndNumber()
H A DParser.cpp1781 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateName() local
1784 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateName()
2040 SourceLocation IdentifierLoc = ConsumeToken(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
2043 = parseObjCTypeArgsAndProtocolQualifiers(IdentifierLoc, Ty, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2395 SmallVector<IdentifierLoc, 2> Path; in ParseModuleDecl()
2400 SmallVector<IdentifierLoc, 2> Partition; in ParseModuleDecl()
2440 SmallVector<IdentifierLoc, 2> Path; in ParseModuleImport()
2552 SmallVectorImpl<IdentifierLoc> &Path, in ParseModuleName()
H A DParseObjc.cpp218 SmallVector<IdentifierLoc, 8> ProtocolIdents; in ParseObjCAtInterfaceDeclaration()
392 SmallVectorImpl<IdentifierLoc> &protocolIdents, SourceLocation &rAngleLoc, in parseObjCTypeParamListOrProtocolRefs()
539 SmallVector<IdentifierLoc, 1> protocolIdents; in parseObjCTypeParamList()
1367 SmallVector<IdentifierLoc, 8> ProtocolIdents; in ParseObjCProtocolReferences()
1456 SmallVector<IdentifierLoc, 4> identifierLocPairs; in parseObjCTypeArgsOrProtocolQualifiers()
1819 IdentifierLoc ProtoInfo(nameLoc, protocolName); in ParseObjCAtProtocolDeclaration()
1827 SmallVector<IdentifierLoc, 8> ProtocolRefs; in ParseObjCAtProtocolDeclaration()
1910 SmallVector<IdentifierLoc, 8> protocolIdents; in ParseObjCAtImplementationDeclaration()
H A DParseOpenACC.cpp805 llvm::SmallVector<IdentifierLoc> &Archs) { in ParseOpenACCDeviceTypeList()
1148 llvm::SmallVector<IdentifierLoc> Archs; in ParseOpenACCClauseParams()
1153 {IdentifierLoc(ConsumeToken(), nullptr)}); in ParseOpenACCClauseParams()
H A DParseDecl.cpp371 IdentifierLoc *Parser::ParseIdentifierLoc() { in ParseIdentifierLoc()
373 IdentifierLoc *IL = new (Actions.Context) in ParseIdentifierLoc()
374 IdentifierLoc(Tok.getLocation(), Tok.getIdentifierInfo()); in ParseIdentifierLoc()
1227 IdentifierLoc *EnvironmentLoc = nullptr; in ParseAvailabilityAttribute()
1242 IdentifierLoc *Platform = ParseIdentifierLoc(); in ParseAvailabilityAttribute()
1467 IdentifierLoc *GeneratedDeclaration = nullptr; in ParseExternalSourceSymbolAttribute()
1582 IdentifierLoc *RelatedClass = ParseIdentifierLoc(); in ParseObjCBridgeRelatedAttribute()
1591 IdentifierLoc *ClassMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1611 IdentifierLoc *InstanceMethod = nullptr; in ParseObjCBridgeRelatedAttribute()
1661 IdentifierLoc(Tok.getLocation(), Tok.getIdentifierInfo()); in ParseSwiftNewTypeAttribute()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h1176 class IdentifierLoc {
1181 IdentifierLoc() = default;
1182 IdentifierLoc(SourceLocation L, IdentifierInfo *Ident) : Loc(L), II(Ident) {} in IdentifierLoc() function
1189 bool operator==(const IdentifierLoc &X) const {
1193 bool operator!=(const IdentifierLoc &X) const {
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp767 IdentifierLoc &ModuleNameComponent, in LexModuleNameComponent()
774 ModuleNameComponent = IdentifierLoc( in LexModuleNameComponent()
778 IdentifierLoc(Tok.getLocation(), Tok.getIdentifierInfo()); in LexModuleNameComponent()
787 llvm::SmallVectorImpl<IdentifierLoc> &ModuleName) { in LexModuleName()
789 IdentifierLoc NameComponent; in LexModuleName()
803 IdentifierLoc ModuleNameLoc; in HandlePragmaModuleBuild()
1109 llvm::SmallVector<IdentifierLoc, 8> ModuleName; in HandlePragma()
1707 llvm::SmallVector<IdentifierLoc, 8> ModuleName; in HandlePragma()
1743 llvm::SmallVector<IdentifierLoc, 8> ModuleName; in HandlePragma()
1836 llvm::SmallVector<IdentifierLoc, 8> ModuleName; in HandlePragma()
H A DPPLexerChange.cpp412 PragmaARCCFCodeAuditedInfo = IdentifierLoc(); in HandleEndOfFile()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleLoader.h33 using ModuleIdPath = ArrayRef<IdentifierLoc>;
H A DPreprocessor.h343 SmallVector<IdentifierLoc, 2> NamedModuleImportPath;
648 IdentifierLoc PragmaARCCFCodeAuditedInfo;
2035 IdentifierLoc getPragmaARCCFCodeAuditedInfo() const { in getPragmaARCCFCodeAuditedInfo()
2043 PragmaARCCFCodeAuditedInfo = IdentifierLoc(Loc, Ident); in setPragmaARCCFCodeAuditedInfo()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DNestedNameSpecifier.cpp561 SourceLocation IdentifierLoc, in Extend() argument
567 SaveSourceLocation(IdentifierLoc, Buffer, BufferSize, BufferCapacity); in Extend()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DNestedNameSpecifier.h420 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);

12