Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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.cpp11620 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
12184 SourceLocation IdentLoc, in ActOnUsingDirective() argument
12213 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
12227 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
12376 Diag(IdentLoc, SS && isDependentScopeSpecifier(*SS) in ActOnUsingEnumDeclaration()
12380 << SourceRange(SS ? SS->getBeginLoc() : IdentLoc, IdentLoc); in ActOnUsingEnumDeclaration()
12839 SourceLocation IdentLoc = NameInfo.getLoc(); in BuildUsingDeclaration() local
12957 IdentLoc, &R)) in BuildUsingDeclaration()
13027 Diag(IdentLoc, diag::err_no_member) in BuildUsingDeclaration()
13717 DiagnoseUseOfDecl(ND, IdentLoc); in ActOnNamespaceAliasDef()
[all …]
H A DSemaStmt.cpp554 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
558 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
565 !Context.getSourceManager().isInSystemHeader(IdentLoc)) in ActOnLabelStmt()
566 Diag(IdentLoc, diag::warn_reserved_extern_symbol) in ActOnLabelStmt()
570 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
573 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
577 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
H A DSemaDecl.cpp14340 StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier() argument
14352 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
14356 D.SetIdentifier(Ident, IdentLoc); in ActOnCXXForRangeIdentifier()
14359 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/ false), in ActOnCXXForRangeIdentifier()
14360 IdentLoc); in ActOnCXXForRangeIdentifier()
14364 return ActOnDeclStmt(FinalizeDeclaratorGroup(S, DS, Var), IdentLoc, in ActOnCXXForRangeIdentifier()
14366 : IdentLoc); in ActOnCXXForRangeIdentifier()
15406 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations()
15420 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations()
15421 DS.SetRangeEnd(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations()
[all …]
H A DSemaDeclAttr.cpp6245 IdentifierLoc *IdentLoc = in handleNSErrorDomain() local
6247 if (!IdentLoc || !IdentLoc->Ident) { in handleNSErrorDomain()
6258 LookupResult Result(S, DeclarationName(IdentLoc->Ident), SourceLocation(), in handleNSErrorDomain()
6261 S.Diag(IdentLoc->Loc, diag::err_nserrordomain_invalid_decl) in handleNSErrorDomain()
6262 << 1 << IdentLoc->Ident; in handleNSErrorDomain()
6267 NSErrorDomainAttr(S.Context, Attr, IdentLoc->Ident)); in handleNSErrorDomain()
H A DSemaType.cpp5519 S.Diag(FTI.Params[0].IdentLoc, in GetFullTypeForDeclarator()
5564 S.Diag(FTI.Params[i].IdentLoc, diag::err_void_only_param); in GetFullTypeForDeclarator()
5569 S.Diag(FTI.Params[i].IdentLoc, diag::err_param_with_void_type); in GetFullTypeForDeclarator()
H A DTreeTransform.h1373 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt() argument
1375 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp76 SourceLocation IdentLoc; in ParseNamespace() local
106 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace()
122 Info.IdentLoc = ConsumeToken(); in ParseNamespace()
193 ExtraNSs.back().IdentLoc); in ParseNamespace()
211 ExtraNSs.back().IdentLoc), in ParseNamespace()
280 InnerNSs[index].IdentLoc, InnerNSs[index].Ident, in ParseInnerNamespace()
334 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local
552 SourceLocation IdentLoc = SourceLocation(); in ParseUsingDirective() local
572 IdentLoc = ConsumeToken(); in ParseUsingDirective()
739 SourceLocation IdentLoc = ConsumeToken(); in ParseUsingDeclaration() local
[all …]
H A DParseDecl.cpp5274 SourceLocation IdentLoc = ConsumeToken(); in ParseEnumBody() local
5302 getCurScope(), EnumDecl, LastEnumConstDecl, IdentLoc, Ident, attrs, in ParseEnumBody()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A 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()
H A DStmt.h164 SourceLocation IdentLoc; in alignas() local
2044 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; } in getIdentLoc()
2045 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; } in setIdentLoc()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1946 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local
1986 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1997 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2006 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2045 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2054 return Error(IdentLoc, "expected identifier"); in ParseIntelExpression()
2059 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2068 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2086 SMRange(IdentLoc, IDEnd)); in ParseIntelExpression()
2092 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp2926 SourceLocation IdentLoc, in Create() argument
2932 IdentLoc, Used, CommonAncestor); in Create()
3027 SourceLocation IdentLoc, in Create() argument
3033 QualifierLoc, IdentLoc, Namespace); in Create()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1618 SourceLocation IdentLoc = getVarDeclIdentifierLoc(VD); in getPointeeTypeText() local
1620 if (!(IdentLoc.isValid() && PteTyLoc.getSourceRange().isValid())) { in getPointeeTypeText()
1635 if (!SM.isBeforeInTranslationUnit(PteEndOfTokenLoc, IdentLoc)) { in getPointeeTypeText()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1292 SourceLocation IdentLoc; member
1306 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
H A DSema.h3097 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
4561 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc,
5194 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
6228 SourceLocation IdentLoc, SourceLocation LBrace);
6236 SourceLocation IdentLoc, IdentifierInfo *Ident,
6299 SourceLocation IdentLoc,
6310 SourceLocation IdentLoc,
6365 SourceLocation IdentLoc, IdentifierInfo &II,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3199 SourceLocation IdentLoc; member
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1882 D->IdentLoc = readSourceLocation(); in VisitNamespaceAliasDecl()