/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaHLSL.cpp | 17 SourceLocation IdentLoc, in ActOnStartHLSLBuffer() argument 22 Context, LexicalParent, CBuffer, KwLoc, Ident, IdentLoc, LBrace); in ActOnStartHLSLBuffer()
|
H A D | SemaDeclCXX.cpp | 11217 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef() 11745 SourceLocation IdentLoc, in ActOnUsingDirective() argument 11774 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective() 11788 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective() 11937 Diag(IdentLoc, SS && isDependentScopeSpecifier(*SS) in ActOnUsingEnumDeclaration() 11941 << SourceRange(SS ? SS->getBeginLoc() : IdentLoc, IdentLoc); in ActOnUsingEnumDeclaration() 12400 SourceLocation IdentLoc = NameInfo.getLoc(); in BuildUsingDeclaration() local 12518 IdentLoc, &R)) in BuildUsingDeclaration() 12588 Diag(IdentLoc, diag::err_no_member) in BuildUsingDeclaration() 13278 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 | 13866 StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier() argument 13878 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier() 13882 D.SetIdentifier(Ident, IdentLoc); in ActOnCXXForRangeIdentifier() 13885 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/ false), in ActOnCXXForRangeIdentifier() 13886 IdentLoc); in ActOnCXXForRangeIdentifier() 13890 return ActOnDeclStmt(FinalizeDeclaratorGroup(S, DS, Var), IdentLoc, in ActOnCXXForRangeIdentifier() 13892 : IdentLoc); in ActOnCXXForRangeIdentifier() 14870 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations() 14884 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations() 14885 DS.SetRangeEnd(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations() [all …]
|
H A D | SemaType.cpp | 5393 S.Diag(FTI.Params[0].IdentLoc, in GetFullTypeForDeclarator() 5437 S.Diag(FTI.Params[i].IdentLoc, diag::err_void_only_param); in GetFullTypeForDeclarator() 5442 S.Diag(FTI.Params[i].IdentLoc, diag::err_param_with_void_type); in GetFullTypeForDeclarator()
|
H A D | TreeTransform.h | 1350 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt() argument 1352 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
|
/openbsd/gnu/llvm/clang/lib/Parse/ |
H A D | ParseDeclCXX.cpp | 74 SourceLocation IdentLoc; in ParseNamespace() local 104 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace() 120 Info.IdentLoc = ConsumeToken(); in ParseNamespace() 191 ExtraNSs.back().IdentLoc); in ParseNamespace() 209 ExtraNSs.back().IdentLoc), in ParseNamespace() 278 InnerNSs[index].IdentLoc, InnerNSs[index].Ident, in ParseInnerNamespace() 332 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local 557 SourceLocation IdentLoc = SourceLocation(); in ParseUsingDirective() local 577 IdentLoc = ConsumeToken(); in ParseUsingDirective() 743 SourceLocation IdentLoc = ConsumeToken(); in ParseUsingDeclaration() local [all …]
|
H A D | ParseDecl.cpp | 5086 SourceLocation IdentLoc = ConsumeToken(); in ParseEnumBody() local 5114 getCurScope(), EnumDecl, LastEnumConstDecl, IdentLoc, Ident, attrs, in ParseEnumBody()
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | DeclCXX.h | 2949 SourceLocation IdentLoc, in UsingDirectiveDecl() argument 2952 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl() 3013 SourceLocation IdentLoc, 3043 SourceLocation IdentLoc; variable 3055 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument 3057 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl() 3074 SourceLocation IdentLoc, 3125 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc() 3132 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
|
H A D | Stmt.h | 146 SourceLocation IdentLoc; in alignas() local 1858 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; } in getIdentLoc() 1859 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; } in setIdentLoc()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/AsmParser/ |
H A D | X86AsmParser.cpp | 1945 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local 1985 return Error(IdentLoc, ErrMsg); 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() 2085 SMRange(IdentLoc, IDEnd)); in ParseIntelExpression() 2091 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() [all …]
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | DeclCXX.cpp | 2872 SourceLocation IdentLoc, in Create() argument 2878 IdentLoc, Used, CommonAncestor); in Create() 2973 SourceLocation IdentLoc, in Create() argument 2979 QualifierLoc, IdentLoc, Namespace); in Create()
|
/openbsd/gnu/llvm/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 1276 SourceLocation IdentLoc; member 1290 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
|
H A D | Sema.h | 3034 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, 4470 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc, 5068 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, 6075 SourceLocation IdentLoc, SourceLocation LBrace); 6083 SourceLocation IdentLoc, IdentifierInfo *Ident, 6146 SourceLocation IdentLoc, 6157 SourceLocation IdentLoc, 6212 SourceLocation IdentLoc, IdentifierInfo &II,
|
/openbsd/gnu/llvm/clang/include/clang/Parse/ |
H A D | Parser.h | 3135 SourceLocation IdentLoc; member
|
/openbsd/gnu/llvm/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 1805 D->IdentLoc = readSourceLocation(); in VisitNamespaceAliasDecl()
|