| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 2935 SourceLocation IdentLoc, in UsingDirectiveDecl() argument 2938 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl() 2999 SourceLocation IdentLoc, 3029 SourceLocation IdentLoc; variable 3041 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument 3043 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl() 3060 SourceLocation IdentLoc, 3111 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc() 3118 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
|
| H A D | Stmt.h | 144 SourceLocation IdentLoc; in alignas() local 1846 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; } in getIdentLoc() 1847 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; } in setIdentLoc()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 72 SourceLocation IdentLoc; in ParseNamespace() local 102 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace() 118 Info.IdentLoc = ConsumeToken(); in ParseNamespace() 189 ExtraNSs.back().IdentLoc); in ParseNamespace() 207 ExtraNSs.back().IdentLoc), in ParseNamespace() 228 getCurScope(), InlineLoc, NamespaceLoc, IdentLoc, Ident, in ParseNamespace() 275 InnerNSs[index].IdentLoc, InnerNSs[index].Ident, in ParseInnerNamespace() 329 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local 548 SourceLocation IdentLoc = SourceLocation(); in ParseUsingDirective() local 568 IdentLoc = ConsumeToken(); in ParseUsingDirective() [all …]
|
| H A D | ParseDecl.cpp | 4989 SourceLocation IdentLoc = ConsumeToken(); in ParseEnumBody() local 5017 getCurScope(), EnumDecl, LastEnumConstDecl, IdentLoc, Ident, attrs, in ParseEnumBody()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 1944 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local 1984 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 1995 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 2004 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 2043 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 2052 return Error(IdentLoc, "expected identifier"); in ParseIntelExpression() 2057 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 2066 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 2084 SMRange(IdentLoc, IDEnd)); in ParseIntelExpression() 2090 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() [all …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclCXX.cpp | 11120 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef() 11647 SourceLocation IdentLoc, in ActOnUsingDirective() argument 11676 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective() 11690 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective() 12292 SourceLocation IdentLoc = NameInfo.getLoc(); in BuildUsingDeclaration() local 12337 SS, IdentLoc, Previous)) in BuildUsingDeclaration() 12410 IdentLoc, &R)) in BuildUsingDeclaration() 12480 Diag(IdentLoc, diag::err_no_member) in BuildUsingDeclaration() 12493 Diag(IdentLoc, diag::err_using_typename_non_type); in BuildUsingDeclaration() 13169 DiagnoseUseOfDecl(ND, IdentLoc); in ActOnNamespaceAliasDef() [all …]
|
| H A D | SemaStmt.cpp | 553 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument 557 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt() 564 !Context.getSourceManager().isInSystemHeader(IdentLoc)) in ActOnLabelStmt() 565 Diag(IdentLoc, diag::warn_reserved_extern_symbol) in ActOnLabelStmt() 569 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt() 572 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt() 576 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
|
| H A D | SemaDecl.cpp | 13483 StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier() argument 13495 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier() 13499 D.SetIdentifier(Ident, IdentLoc); in ActOnCXXForRangeIdentifier() 13502 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/ false), in ActOnCXXForRangeIdentifier() 13503 IdentLoc); in ActOnCXXForRangeIdentifier() 13507 return ActOnDeclStmt(FinalizeDeclaratorGroup(S, DS, Var), IdentLoc, in ActOnCXXForRangeIdentifier() 13509 : IdentLoc); in ActOnCXXForRangeIdentifier() 14480 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations() 14494 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations() 14495 DS.SetRangeEnd(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations() [all …]
|
| H A D | SemaType.cpp | 5316 S.Diag(FTI.Params[0].IdentLoc, in GetFullTypeForDeclarator() 5360 S.Diag(FTI.Params[i].IdentLoc, diag::err_void_only_param); in GetFullTypeForDeclarator() 5365 S.Diag(FTI.Params[i].IdentLoc, diag::err_param_with_void_type); in GetFullTypeForDeclarator()
|
| H A D | TreeTransform.h | 1309 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt() argument 1311 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 2843 SourceLocation IdentLoc, in Create() argument 2849 IdentLoc, Used, CommonAncestor); in Create() 2938 SourceLocation IdentLoc, in Create() argument 2944 QualifierLoc, IdentLoc, Namespace); in Create()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1254 SourceLocation IdentLoc; member 1268 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
|
| H A D | Sema.h | 2971 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, 4350 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc, 4945 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, 5934 SourceLocation IdentLoc, IdentifierInfo *Ident, 5997 SourceLocation IdentLoc, 6008 SourceLocation IdentLoc,
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 3034 SourceLocation IdentLoc; member
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1742 D->IdentLoc = readSourceLocation(); in VisitNamespaceAliasDecl()
|