Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaHLSL.h35 IdentifierInfo *Ident, SourceLocation IdentLoc,
H A DDeclSpec.h1332 SourceLocation IdentLoc; member
1345 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
H A DSema.h3675 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
4766 SourceLocation IdentLoc, IdentifierInfo *Ident,
4823 SourceLocation IdentLoc,
4831 CXXScopeSpec &SS, SourceLocation IdentLoc,
9210 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc,
10699 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp77 SourceLocation IdentLoc; in ParseNamespace() local
107 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace()
123 Info.IdentLoc = ConsumeToken(); in ParseNamespace()
148 ExtraNSs.back().IdentLoc); in ParseNamespace()
157 Decl *NSAlias = ParseNamespaceAlias(NamespaceLoc, IdentLoc, Ident, DeclEnd); in ParseNamespace()
202 ExtraNSs.back().IdentLoc); in ParseNamespace()
220 ExtraNSs.back().IdentLoc), in ParseNamespace()
241 getCurScope(), InlineLoc, NamespaceLoc, IdentLoc, Ident, in ParseNamespace()
289 InnerNSs[index].IdentLoc, InnerNSs[index].Ident, in ParseInnerNamespace()
343 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local
[all …]
H A DParseDecl.cpp5657 SourceLocation IdentLoc = ConsumeToken(); in ParseEnumBody() local
5685 getCurScope(), EnumDecl, LastEnumConstDecl, IdentLoc, Ident, attrs, in ParseEnumBody()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3042 SourceLocation IdentLoc, in UsingDirectiveDecl() argument
3045 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl()
3106 SourceLocation IdentLoc,
3136 SourceLocation IdentLoc; variable
3148 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument
3150 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl()
3167 SourceLocation IdentLoc,
3218 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc()
3225 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
H A DStmt.h164 SourceLocation IdentLoc;
2051 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; }
2052 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; }
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1951 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local
1989 if (!ParseRegister(Reg, IdentLoc, End, /*RestoreOnFailure=*/true)) { in ParseIntelExpression()
1991 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2000 !MatchRegisterByName(Reg, ID, IdentLoc, IDEndLoc)) { in ParseIntelExpression()
2002 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2011 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2050 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2059 return Error(IdentLoc, "expected identifier"); in ParseIntelExpression()
2064 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2073 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp1998 IdentifierLoc *IdentLoc = in handleNSErrorDomain() local
2000 if (!IdentLoc || !IdentLoc->Ident) { in handleNSErrorDomain()
2011 LookupResult Result(SemaRef, DeclarationName(IdentLoc->Ident), in handleNSErrorDomain()
2016 Diag(IdentLoc->Loc, diag::err_nserrordomain_invalid_decl) in handleNSErrorDomain()
2017 << 1 << IdentLoc->Ident; in handleNSErrorDomain()
2022 NSErrorDomainAttr(getASTContext(), Attr, IdentLoc->Ident)); in handleNSErrorDomain()
H A DSemaDeclCXX.cpp11527 SourceLocation IdentLoc, IdentifierInfo *II, in ActOnStartNamespaceDef() argument
11533 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
11567 LookupResult R(*this, II, IdentLoc, LookupOrdinaryName, in ActOnStartNamespaceDef()
12063 SourceLocation IdentLoc, in TryNamespaceTypoCorrection() argument
12100 SourceLocation IdentLoc, in ActOnUsingDirective() argument
12105 assert(IdentLoc.isValid() && "Invalid NamespceName location."); in ActOnUsingDirective()
12116 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective()
12127 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
12132 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName); in ActOnUsingDirective()
12141 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
[all …]
H A DSemaHLSL.cpp34 SourceLocation IdentLoc, in ActOnStartBuffer() argument
39 getASTContext(), LexicalParent, CBuffer, KwLoc, Ident, IdentLoc, LBrace); in ActOnStartBuffer()
H A DSemaStmt.cpp572 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
576 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
583 !Context.getSourceManager().isInSystemHeader(IdentLoc)) in ActOnLabelStmt()
584 Diag(IdentLoc, diag::warn_reserved_extern_symbol) in ActOnLabelStmt()
593 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
596 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
600 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
H A DSemaDecl.cpp14145 StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier() argument
14157 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
14161 D.SetIdentifier(Ident, IdentLoc); in ActOnCXXForRangeIdentifier()
14164 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/ false), in ActOnCXXForRangeIdentifier()
14165 IdentLoc); in ActOnCXXForRangeIdentifier()
14169 return ActOnDeclStmt(FinalizeDeclaratorGroup(S, DS, Var), IdentLoc, in ActOnCXXForRangeIdentifier()
14171 : IdentLoc); in ActOnCXXForRangeIdentifier()
15172 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations()
15183 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
15186 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations()
[all …]
H A DSemaType.cpp5087 S.Diag(FTI.Params[0].IdentLoc, in GetFullTypeForDeclarator()
5132 S.Diag(FTI.Params[i].IdentLoc, diag::err_void_only_param); in GetFullTypeForDeclarator()
5137 S.Diag(FTI.Params[i].IdentLoc, diag::err_param_with_void_type); in GetFullTypeForDeclarator()
H A DTreeTransform.h1394 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt() argument
1396 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp2979 SourceLocation IdentLoc, in Create() argument
2985 IdentLoc, Used, CommonAncestor); in Create()
3058 SourceLocation IdentLoc, in Create() argument
3064 QualifierLoc, IdentLoc, Namespace); in Create()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1890 SourceLocation IdentLoc = getVarDeclIdentifierLoc(VD); in getPointeeTypeText() local
1892 if (!(IdentLoc.isValid() && PteTyLoc.getSourceRange().isValid())) { in getPointeeTypeText()
1907 if (!SM.isBeforeInTranslationUnit(PteEndOfTokenLoc, IdentLoc)) { in getPointeeTypeText()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3281 SourceLocation IdentLoc; member
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1869 D->IdentLoc = readSourceLocation(); in VisitNamespaceAliasDecl()