Home
last modified time | relevance | path

Searched refs:IdentLoc (Results 1 – 25 of 38) sorted by relevance

12

/aosp_15_r20/external/clang/include/clang/AST/
H A DDeclCXX.h2644 SourceLocation IdentLoc, in UsingDirectiveDecl() argument
2647 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl()
2693 SourceLocation IdentLoc,
2728 SourceLocation IdentLoc; variable
2740 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument
2742 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl()
2758 SourceLocation IdentLoc,
2808 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc()
2815 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
H A DStmt.h790 SourceLocation IdentLoc; variable
796 : Stmt(LabelStmtClass), IdentLoc(IL), TheDecl(D), SubStmt(substmt) { in LabelStmt()
805 SourceLocation getIdentLoc() const { return IdentLoc; } in getIdentLoc()
811 void setIdentLoc(SourceLocation L) { IdentLoc = L; } in setIdentLoc()
814 SourceLocation getLocStart() const LLVM_READONLY { return IdentLoc; } in getLocStart()
/aosp_15_r20/external/clang/lib/Parse/
H A DParseDeclCXX.cpp71 SourceLocation IdentLoc; in ParseNamespace() local
89 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace()
119 Decl *NSAlias = ParseNamespaceAlias(NamespaceLoc, IdentLoc, Ident, DeclEnd); in ParseNamespace()
187 IdentLoc, Ident, T.getOpenLocation(), in ParseNamespace()
209 void Parser::ParseInnerNamespace(std::vector<SourceLocation> &IdentLoc, in ParseInnerNamespace() argument
238 NamespaceLoc[index], IdentLoc[index], in ParseInnerNamespace()
244 ParseInnerNamespace(IdentLoc, Ident, NamespaceLoc, ++index, InlineLoc, in ParseInnerNamespace()
281 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local
289 Alias, SS, IdentLoc, Ident); in ParseNamespaceAlias()
448 SourceLocation IdentLoc = SourceLocation(); in ParseUsingDirective() local
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/AST/
DDeclCXX.h3035 SourceLocation IdentLoc, in UsingDirectiveDecl() argument
3038 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl()
3099 SourceLocation IdentLoc,
3129 SourceLocation IdentLoc; variable
3141 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument
3143 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl()
3160 SourceLocation IdentLoc,
3211 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc()
3218 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
DStmt.h164 SourceLocation IdentLoc;
2046 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; }
2047 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; }
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/AST/
DDeclCXX.h3028 SourceLocation IdentLoc, in UsingDirectiveDecl() argument
3031 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl()
3092 SourceLocation IdentLoc,
3122 SourceLocation IdentLoc; variable
3134 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument
3136 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl()
3153 SourceLocation IdentLoc,
3204 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc()
3211 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
DStmt.h164 SourceLocation IdentLoc;
2044 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; }
2045 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; }
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/AST/
DDeclCXX.h3028 SourceLocation IdentLoc, in UsingDirectiveDecl() argument
3031 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl()
3092 SourceLocation IdentLoc,
3122 SourceLocation IdentLoc; variable
3134 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument
3136 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl()
3153 SourceLocation IdentLoc,
3204 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc()
3211 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
DStmt.h164 SourceLocation IdentLoc;
2044 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; }
2045 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; }
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/AST/
DDeclCXX.h3028 SourceLocation IdentLoc, in UsingDirectiveDecl() argument
3031 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl()
3092 SourceLocation IdentLoc,
3122 SourceLocation IdentLoc; variable
3134 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument
3136 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl()
3153 SourceLocation IdentLoc,
3204 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc()
3211 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
DStmt.h164 SourceLocation IdentLoc;
2040 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; }
2041 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; }
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1945 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local
1983 if (!ParseRegister(Reg, IdentLoc, End, /*RestoreOnFailure=*/true)) { in ParseIntelExpression()
1985 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1994 !MatchRegisterByName(Reg, ID, IdentLoc, IDEndLoc)) { in ParseIntelExpression()
1996 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2005 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2044 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2053 return Error(IdentLoc, "expected identifier"); in ParseIntelExpression()
2058 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2067 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
[all …]
/aosp_15_r20/external/clang/lib/Sema/
H A DSemaDeclCXX.cpp7334 SourceLocation IdentLoc, in ActOnStartNamespaceDef() argument
7341 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
7361 LookupResult R(*this, II, IdentLoc, LookupOrdinaryName, ForRedeclaration); in ActOnStartNamespaceDef()
7677 SourceLocation IdentLoc, in TryNamespaceTypoCorrection() argument
7707 SourceLocation IdentLoc, in ActOnUsingDirective() argument
7712 assert(IdentLoc.isValid() && "Invalid NamespceName location."); in ActOnUsingDirective()
7725 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective()
7736 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
7741 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName); in ActOnUsingDirective()
7750 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
[all …]
H A DSemaStmt.cpp461 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
465 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
471 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
474 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
478 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
H A DSemaDecl.cpp10262 Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier() argument
10275 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
10279 D.SetIdentifier(Ident, IdentLoc); in ActOnCXXForRangeIdentifier()
10283 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/false), in ActOnCXXForRangeIdentifier()
10284 EmptyAttrs, IdentLoc); in ActOnCXXForRangeIdentifier()
10288 return ActOnDeclStmt(FinalizeDeclaratorGroup(S, DS, Var), IdentLoc, in ActOnCXXForRangeIdentifier()
10289 AttrEnd.isValid() ? AttrEnd : IdentLoc); in ActOnCXXForRangeIdentifier()
11048 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations()
11058 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
11061 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Sema/
DSemaHLSL.h34 IdentifierInfo *Ident, SourceLocation IdentLoc,
DDeclSpec.h1332 SourceLocation IdentLoc; member
1345 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
DSema.h3043 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
3858 SourceLocation IdentLoc, IdentifierInfo *Ident,
3909 SourceLocation IdentLoc,
3917 CXXScopeSpec &SS, SourceLocation IdentLoc,
3974 SourceLocation IdentLoc, IdentifierInfo &II,
7479 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc,
8511 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
/aosp_15_r20/external/clang/lib/AST/
H A DDeclCXX.cpp2035 SourceLocation IdentLoc, in Create() argument
2041 IdentLoc, Used, CommonAncestor); in Create()
2127 SourceLocation IdentLoc, in Create() argument
2133 QualifierLoc, IdentLoc, Namespace); in Create()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1525 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local
1530 if (Tok.is(AsmToken::Identifier) && !ParseRegister(Reg, IdentLoc, End)) { in ParseIntelExpression()
1549 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1557 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1571 return Error(IdentLoc, "expected identifier"); in ParseIntelExpression()
1575 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
/aosp_15_r20/external/clang/include/clang/Sema/
H A DDeclSpec.h1181 SourceLocation IdentLoc; member
1195 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
H A DSema.h1767 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
2869 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc,
3391 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
4190 SourceLocation IdentLoc,
4220 SourceLocation IdentLoc,
4231 SourceLocation IdentLoc,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Sema/
DDeclSpec.h1331 SourceLocation IdentLoc; member
1345 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Sema/
DDeclSpec.h1331 SourceLocation IdentLoc; member
1345 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Sema/
DDeclSpec.h1292 SourceLocation IdentLoc; member
1306 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()

12