Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaHLSL.cpp17 SourceLocation IdentLoc, in ActOnStartHLSLBuffer() argument
22 Context, LexicalParent, CBuffer, KwLoc, Ident, IdentLoc, LBrace); in ActOnStartHLSLBuffer()
H A DSemaDeclCXX.cpp11211 SourceLocation IdentLoc, IdentifierInfo *II, in ActOnStartNamespaceDef() argument
11217 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
11237 LookupResult R(*this, II, IdentLoc, LookupOrdinaryName, in ActOnStartNamespaceDef()
11717 SourceLocation IdentLoc, in TryNamespaceTypoCorrection() argument
11745 SourceLocation IdentLoc, in ActOnUsingDirective() argument
11750 assert(IdentLoc.isValid() && "Invalid NamespceName location."); in ActOnUsingDirective()
11763 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective()
11774 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
11779 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName); in ActOnUsingDirective()
11788 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
[all …]
H A DSemaStmt.cpp553 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 DSemaDecl.cpp13866 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()
14881 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
14884 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations()
[all …]
H A DSemaType.cpp5393 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 DTreeTransform.h1350 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt() argument
1352 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseDeclCXX.cpp74 SourceLocation IdentLoc; in ParseNamespace() local
104 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace()
120 Info.IdentLoc = ConsumeToken(); in ParseNamespace()
146 Decl *NSAlias = ParseNamespaceAlias(NamespaceLoc, IdentLoc, Ident, DeclEnd); in ParseNamespace()
191 ExtraNSs.back().IdentLoc); in ParseNamespace()
209 ExtraNSs.back().IdentLoc), in ParseNamespace()
230 getCurScope(), InlineLoc, NamespaceLoc, IdentLoc, Ident, in ParseNamespace()
278 InnerNSs[index].IdentLoc, InnerNSs[index].Ident, in ParseInnerNamespace()
332 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local
340 Alias, SS, IdentLoc, Ident); in ParseNamespaceAlias()
[all …]
H A DParseDecl.cpp5086 SourceLocation IdentLoc = ConsumeToken(); in ParseEnumBody() local
5114 getCurScope(), EnumDecl, LastEnumConstDecl, IdentLoc, Ident, attrs, in ParseEnumBody()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclCXX.h2949 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 DStmt.h146 SourceLocation IdentLoc; variable
1858 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; } in getIdentLoc()
1859 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; } in setIdentLoc()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclCXX.cpp2872 SourceLocation IdentLoc, in Create() argument
2878 IdentLoc, Used, CommonAncestor); in Create()
2973 SourceLocation IdentLoc, in Create() argument
2979 QualifierLoc, IdentLoc, Namespace); in Create()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DDeclSpec.h1276 SourceLocation IdentLoc; member
1290 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
H A DSema.h3034 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-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h3135 SourceLocation IdentLoc; member
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp1805 D->IdentLoc = readSourceLocation(); in VisitNamespaceAliasDecl()