Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DDeclCXX.h2644 SourceLocation IdentLoc, in UsingDirectiveDecl() argument
2647 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl()
2693 SourceLocation IdentLoc,
2728 SourceLocation IdentLoc; variable
2740 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument
2742 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl()
2758 SourceLocation IdentLoc,
2808 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc()
2815 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
DStmt.h790 SourceLocation IdentLoc; variable
796 : Stmt(LabelStmtClass), IdentLoc(IL), TheDecl(D), SubStmt(substmt) { in LabelStmt()
805 SourceLocation getIdentLoc() const { return IdentLoc; } in getIdentLoc()
811 void setIdentLoc(SourceLocation L) { IdentLoc = L; } in setIdentLoc()
814 SourceLocation getLocStart() const LLVM_READONLY { return IdentLoc; } in getLocStart()
/external/clang/lib/Parse/
DParseDeclCXX.cpp71 SourceLocation IdentLoc; in ParseNamespace() local
89 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace()
119 Decl *NSAlias = ParseNamespaceAlias(NamespaceLoc, IdentLoc, Ident, DeclEnd); in ParseNamespace()
187 IdentLoc, Ident, T.getOpenLocation(), in ParseNamespace()
209 void Parser::ParseInnerNamespace(std::vector<SourceLocation> &IdentLoc, in ParseInnerNamespace() argument
238 NamespaceLoc[index], IdentLoc[index], in ParseInnerNamespace()
244 ParseInnerNamespace(IdentLoc, Ident, NamespaceLoc, ++index, InlineLoc, in ParseInnerNamespace()
281 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local
289 Alias, SS, IdentLoc, Ident); in ParseNamespaceAlias()
448 SourceLocation IdentLoc = SourceLocation(); in ParseUsingDirective() local
[all …]
DParseDecl.cpp4192 SourceLocation IdentLoc = ConsumeToken(); in ParseEnumBody() local
4218 IdentLoc, Ident, in ParseEnumBody()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp7334 SourceLocation IdentLoc, in ActOnStartNamespaceDef() argument
7341 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
7361 LookupResult R(*this, II, IdentLoc, LookupOrdinaryName, ForRedeclaration); in ActOnStartNamespaceDef()
7677 SourceLocation IdentLoc, in TryNamespaceTypoCorrection() argument
7707 SourceLocation IdentLoc, in ActOnUsingDirective() argument
7712 assert(IdentLoc.isValid() && "Invalid NamespceName location."); in ActOnUsingDirective()
7725 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective()
7736 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
7741 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName); in ActOnUsingDirective()
7750 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
[all …]
DSemaStmt.cpp461 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
465 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
471 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
474 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
478 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
DSemaDecl.cpp10262 Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier() argument
10275 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
10279 D.SetIdentifier(Ident, IdentLoc); in ActOnCXXForRangeIdentifier()
10283 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/false), in ActOnCXXForRangeIdentifier()
10284 EmptyAttrs, IdentLoc); in ActOnCXXForRangeIdentifier()
10288 return ActOnDeclStmt(FinalizeDeclaratorGroup(S, DS, Var), IdentLoc, in ActOnCXXForRangeIdentifier()
10289 AttrEnd.isValid() ? AttrEnd : IdentLoc); in ActOnCXXForRangeIdentifier()
11048 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations()
11058 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
11061 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations()
[all …]
DSemaType.cpp4183 S.Diag(FTI.Params[0].IdentLoc, in GetFullTypeForDeclarator()
4227 S.Diag(FTI.Params[i].IdentLoc, diag::err_param_with_void_type); in GetFullTypeForDeclarator()
DTreeTransform.h1157 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt() argument
1159 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1440 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local
1445 if (Tok.is(AsmToken::Identifier) && !ParseRegister(Reg, IdentLoc, End)) { in ParseIntelExpression()
1460 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1467 return Error(IdentLoc, "Dealing OFFSET operator as part of" in ParseIntelExpression()
1471 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1485 return Error(IdentLoc, "expected identifier"); in ParseIntelExpression()
1489 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
/external/clang/lib/AST/
DDeclCXX.cpp2035 SourceLocation IdentLoc, in Create() argument
2041 IdentLoc, Used, CommonAncestor); in Create()
2127 SourceLocation IdentLoc, in Create() argument
2133 QualifierLoc, IdentLoc, Namespace); in Create()
/external/clang/include/clang/Sema/
DDeclSpec.h1181 SourceLocation IdentLoc; member
1195 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
DSema.h1767 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
2869 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc,
3391 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
4190 SourceLocation IdentLoc,
4220 SourceLocation IdentLoc,
4231 SourceLocation IdentLoc,
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1299 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local
1301 if (TK != AsmToken::String && !ParseRegister(TmpReg, IdentLoc, End)) { in ParseIntelExpression()
/external/clang/include/clang/Parse/
DParser.h2392 void ParseInnerNamespace(std::vector<SourceLocation>& IdentLoc,
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1396 D->IdentLoc = ReadSourceLocation(Record, Idx); in VisitNamespaceAliasDecl()