Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
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()
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()
/external/llvm-project/clang/include/clang/AST/
DDeclCXX.h2878 SourceLocation IdentLoc, in UsingDirectiveDecl() argument
2881 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl()
2942 SourceLocation IdentLoc,
2972 SourceLocation IdentLoc; variable
2984 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument
2986 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl()
3003 SourceLocation IdentLoc,
3054 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc()
3061 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
DStmt.h141 SourceLocation IdentLoc; variable
1812 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; } in getIdentLoc()
1813 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; } in setIdentLoc()
/external/clang/lib/Parse/
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 …]
DParseDecl.cpp4192 SourceLocation IdentLoc = ConsumeToken(); in ParseEnumBody() local
4218 IdentLoc, Ident, in ParseEnumBody()
/external/llvm-project/clang/lib/Parse/
DParseDeclCXX.cpp71 SourceLocation IdentLoc; in ParseNamespace() local
89 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace()
105 Info.IdentLoc = ConsumeToken(); in ParseNamespace()
133 Decl *NSAlias = ParseNamespaceAlias(NamespaceLoc, IdentLoc, Ident, DeclEnd); in ParseNamespace()
178 ExtraNSs.back().IdentLoc); in ParseNamespace()
196 ExtraNSs.back().IdentLoc), in ParseNamespace()
216 getCurScope(), InlineLoc, NamespaceLoc, IdentLoc, Ident, in ParseNamespace()
263 InnerNSs[index].IdentLoc, InnerNSs[index].Ident, in ParseInnerNamespace()
317 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local
325 Alias, SS, IdentLoc, Ident); in ParseNamespaceAlias()
[all …]
/external/llvm-project/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1909 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local
1947 if (!ParseRegister(Reg, IdentLoc, End, /*RestoreOnFailure=*/true)) { in ParseIntelExpression()
1949 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1958 !MatchRegisterByName(Reg, ID, IdentLoc, IDEndLoc)) { in ParseIntelExpression()
1960 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1969 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2008 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2017 return Error(IdentLoc, "expected identifier"); in ParseIntelExpression()
2022 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2031 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
[all …]
/external/clang/lib/Sema/
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 …]
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()
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 …]
/external/clang/lib/AST/
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()
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp10850 SourceLocation IdentLoc, IdentifierInfo *II, SourceLocation LBrace, in ActOnStartNamespaceDef() argument
10854 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
10874 LookupResult R(*this, II, IdentLoc, LookupOrdinaryName, in ActOnStartNamespaceDef()
11353 SourceLocation IdentLoc, in TryNamespaceTypoCorrection() argument
11381 SourceLocation IdentLoc, in ActOnUsingDirective() argument
11386 assert(IdentLoc.isValid() && "Invalid NamespceName location."); in ActOnUsingDirective()
11399 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective()
11410 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
11415 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName); in ActOnUsingDirective()
11424 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
[all …]
DSemaStmt.cpp535 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
539 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
545 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
548 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
552 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
DSemaDecl.cpp12805 Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier() argument
12818 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
12822 D.SetIdentifier(Ident, IdentLoc); in ActOnCXXForRangeIdentifier()
12825 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/ false), in ActOnCXXForRangeIdentifier()
12826 IdentLoc); in ActOnCXXForRangeIdentifier()
12830 return ActOnDeclStmt(FinalizeDeclaratorGroup(S, DS, Var), IdentLoc, in ActOnCXXForRangeIdentifier()
12831 AttrEnd.isValid() ? AttrEnd : IdentLoc); in ActOnCXXForRangeIdentifier()
13786 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations()
13796 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
13799 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations()
[all …]
DSemaType.cpp5153 S.Diag(FTI.Params[0].IdentLoc, in GetFullTypeForDeclarator()
5195 S.Diag(FTI.Params[i].IdentLoc, diag::err_void_only_param); in GetFullTypeForDeclarator()
5200 S.Diag(FTI.Params[i].IdentLoc, diag::err_param_with_void_type); in GetFullTypeForDeclarator()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
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()
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp2822 SourceLocation IdentLoc, in Create() argument
2828 IdentLoc, Used, CommonAncestor); in Create()
2917 SourceLocation IdentLoc, in Create() argument
2923 QualifierLoc, IdentLoc, Namespace); in Create()
/external/clang/include/clang/Sema/
DDeclSpec.h1181 SourceLocation IdentLoc; member
1195 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
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,
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h1242 SourceLocation IdentLoc; member
1256 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
DSema.h2636 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
3970 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc,
4513 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
5454 SourceLocation IdentLoc, IdentifierInfo *Ident,
5516 SourceLocation IdentLoc,
5527 SourceLocation IdentLoc,
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1299 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local
1301 if (TK != AsmToken::String && !ParseRegister(TmpReg, IdentLoc, End)) { in ParseIntelExpression()
/external/clang/include/clang/Parse/
DParser.h2392 void ParseInnerNamespace(std::vector<SourceLocation>& IdentLoc,
/external/llvm-project/clang/include/clang/Parse/
DParser.h2951 SourceLocation IdentLoc; member

12