Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclCXX.h2899 SourceLocation IdentLoc, in UsingDirectiveDecl() argument
2902 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl()
2963 SourceLocation IdentLoc,
2993 SourceLocation IdentLoc; variable
3005 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument
3007 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl()
3024 SourceLocation IdentLoc,
3075 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc()
3082 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
H A DStmt.h141 SourceLocation IdentLoc; variable
1813 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; } in getIdentLoc()
1814 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; } in setIdentLoc()
/netbsd-src/external/apache2/llvm/dist/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()
133 Decl *NSAlias = ParseNamespaceAlias(NamespaceLoc, IdentLoc, Ident, DeclEnd); 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()
317 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local
325 Alias, SS, IdentLoc, Ident); in ParseNamespaceAlias()
[all …]
H A DParseDecl.cpp4819 SourceLocation IdentLoc = ConsumeToken(); in ParseEnumBody() local
4847 getCurScope(), EnumDecl, LastEnumConstDecl, IdentLoc, Ident, attrs, in ParseEnumBody()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1912 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local
1950 if (!ParseRegister(Reg, IdentLoc, End, /*RestoreOnFailure=*/true)) { in ParseIntelExpression()
1952 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1961 !MatchRegisterByName(Reg, ID, IdentLoc, IDEndLoc)) { in ParseIntelExpression()
1963 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
1972 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2011 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2020 return Error(IdentLoc, "expected identifier"); in ParseIntelExpression()
2025 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
2034 return Error(IdentLoc, ErrMsg); in ParseIntelExpression()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclCXX.cpp10909 SourceLocation IdentLoc, IdentifierInfo *II, SourceLocation LBrace, in ActOnStartNamespaceDef() argument
10913 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef()
10933 LookupResult R(*this, II, IdentLoc, LookupOrdinaryName, in ActOnStartNamespaceDef()
11412 SourceLocation IdentLoc, in TryNamespaceTypoCorrection() argument
11440 SourceLocation IdentLoc, in ActOnUsingDirective() argument
11445 assert(IdentLoc.isValid() && "Invalid NamespceName location."); in ActOnUsingDirective()
11458 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective()
11469 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective()
11474 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName); in ActOnUsingDirective()
11483 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective()
[all …]
H A DSemaStmt.cpp536 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
540 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
547 !Context.getSourceManager().isInSystemHeader(IdentLoc)) in ActOnLabelStmt()
548 Diag(IdentLoc, diag::warn_reserved_extern_symbol) in ActOnLabelStmt()
552 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
555 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
559 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
H A DSemaDecl.cpp12928 Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier() argument
12941 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
12945 D.SetIdentifier(Ident, IdentLoc); in ActOnCXXForRangeIdentifier()
12948 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/ false), in ActOnCXXForRangeIdentifier()
12949 IdentLoc); in ActOnCXXForRangeIdentifier()
12953 return ActOnDeclStmt(FinalizeDeclaratorGroup(S, DS, Var), IdentLoc, in ActOnCXXForRangeIdentifier()
12954 AttrEnd.isValid() ? AttrEnd : IdentLoc); in ActOnCXXForRangeIdentifier()
13917 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations()
13927 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
13930 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations()
[all …]
H A DSemaType.cpp5193 S.Diag(FTI.Params[0].IdentLoc, in GetFullTypeForDeclarator()
5235 S.Diag(FTI.Params[i].IdentLoc, diag::err_void_only_param); in GetFullTypeForDeclarator()
5240 S.Diag(FTI.Params[i].IdentLoc, diag::err_param_with_void_type); in GetFullTypeForDeclarator()
H A DTreeTransform.h1304 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt() argument
1306 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclCXX.cpp2841 SourceLocation IdentLoc, in Create() argument
2847 IdentLoc, Used, CommonAncestor); in Create()
2936 SourceLocation IdentLoc, in Create() argument
2942 QualifierLoc, IdentLoc, Namespace); in Create()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DDeclSpec.h1253 SourceLocation IdentLoc; member
1267 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
H A DSema.h2769 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
4101 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc,
4653 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
5601 SourceLocation IdentLoc, IdentifierInfo *Ident,
5663 SourceLocation IdentLoc,
5674 SourceLocation IdentLoc,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h3024 SourceLocation IdentLoc; member
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp1636 D->IdentLoc = readSourceLocation(); in VisitNamespaceAliasDecl()