Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclCXX.h2936 SourceLocation IdentLoc,
2939 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc),
3000 SourceLocation IdentLoc,
3030 SourceLocation IdentLoc;
3042 SourceLocation IdentLoc, NamedDecl *Namespace)
3044 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc),
3061 SourceLocation IdentLoc,
3112 SourceLocation getTargetNameLoc() const { return IdentLoc; }
3119 return SourceRange(NamespaceLoc, IdentLoc);
H A DStmt.h137 SourceLocation IdentLoc; in alignas() local
1607 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; } in getIdentLoc()
1608 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; } in setIdentLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseDeclCXX.cpp71 SourceLocation IdentLoc; in ParseNamespace() local
89 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace()
105 Info.IdentLoc = ConsumeToken(); in ParseNamespace()
178 ExtraNSs.back().IdentLoc); in ParseNamespace()
196 ExtraNSs.back().IdentLoc), in ParseNamespace()
216 getCurScope(), InlineLoc, NamespaceLoc, IdentLoc, Ident, in ParseNamespace()
263 InnerNSs[index].IdentLoc, InnerNSs[index].Ident, in ParseInnerNamespace()
315 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local
532 SourceLocation IdentLoc = SourceLocation(); in ParseUsingDirective() local
552 IdentLoc = ConsumeToken(); in ParseUsingDirective()
[all …]
H A DParseDecl.cpp4510 SourceLocation IdentLoc = ConsumeToken(); in ParseEnumBody() local
4537 getCurScope(), EnumDecl, LastEnumConstDecl, IdentLoc, Ident, attrs, in ParseEnumBody()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclCXX.cpp8845 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
9359 SourceLocation IdentLoc, in ActOnUsingDirective() argument
9388 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
9402 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
9920 SourceLocation IdentLoc = NameInfo.getLoc(); in BuildUsingDeclaration() local
9979 SS, IdentLoc, Previous)) in BuildUsingDeclaration()
9984 IdentLoc)) in BuildUsingDeclaration()
10105 Diag(IdentLoc, diag::err_no_member) in BuildUsingDeclaration()
10117 Diag(IdentLoc, diag::err_using_typename_non_type); in BuildUsingDeclaration()
10703 DiagnoseUseOfDecl(ND, IdentLoc); in ActOnNamespaceAliasDef()
[all …]
H A DSemaStmt.cpp492 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
496 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
502 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
505 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
509 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
H A DSemaDecl.cpp11706 Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier() argument
11719 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
11723 D.SetIdentifier(Ident, IdentLoc); in ActOnCXXForRangeIdentifier()
11727 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/ false), in ActOnCXXForRangeIdentifier()
11728 IdentLoc); in ActOnCXXForRangeIdentifier()
11732 return ActOnDeclStmt(FinalizeDeclaratorGroup(S, DS, Var), IdentLoc, in ActOnCXXForRangeIdentifier()
11733 AttrEnd.isValid() ? AttrEnd : IdentLoc); in ActOnCXXForRangeIdentifier()
12605 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations()
12618 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations()
12619 DS.SetRangeEnd(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations()
[all …]
H A DSemaType.cpp4690 S.Diag(FTI.Params[0].IdentLoc, in GetFullTypeForDeclarator()
4736 S.Diag(FTI.Params[i].IdentLoc, diag::err_param_with_void_type); in GetFullTypeForDeclarator()
H A DTreeTransform.h1237 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt() argument
1239 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
/freebsd-12.1/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1445 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local
1450 if (Tok.is(AsmToken::Identifier) && !ParseRegister(Reg, IdentLoc, End)) { in ParseIntelExpression()
1465 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1472 return Error(IdentLoc, "Dealing OFFSET operator as part of" in ParseIntelExpression()
1476 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1490 return Error(IdentLoc, "expected identifier"); in ParseIntelExpression()
1494 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclCXX.cpp2549 SourceLocation IdentLoc, in Create() argument
2555 IdentLoc, Used, CommonAncestor); in Create()
2644 SourceLocation IdentLoc, in Create() argument
2650 QualifierLoc, IdentLoc, Namespace); in Create()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DDeclSpec.h1226 SourceLocation IdentLoc; member
1240 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
H A DSema.h2020 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
3233 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc,
3753 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
4582 SourceLocation IdentLoc, IdentifierInfo *Ident,
4633 SourceLocation IdentLoc,
4644 SourceLocation IdentLoc,
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h2668 SourceLocation IdentLoc; member
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp1565 D->IdentLoc = ReadSourceLocation(); in VisitNamespaceAliasDecl()