| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | FixitUtil.cpp | 59 SourceLocation IdentLoc = VD->getLocation(); in getPointeeTypeText() local 61 if (!(IdentLoc.isValid() && PteTyLoc.getSourceRange().isValid())) { in getPointeeTypeText() 76 if (!SM.isBeforeInTranslationUnit(PteEndOfTokenLoc, IdentLoc) && in getPointeeTypeText() 77 PteEndOfTokenLoc != IdentLoc) { in getPointeeTypeText() 141 SourceLocation IdentLoc = VD->getLocation(); in getPointee2TypeText() local 143 if (!(IdentLoc.isValid() && PteTyLoc.getSourceRange().isValid())) { in getPointee2TypeText() 158 if (!SM.isBeforeInTranslationUnit(PteEndOfTokenLoc, IdentLoc)) { in getPointee2TypeText()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 50 SourceLocation IdentLoc; in ParseNamespace() local 70 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace() 86 Info.IdentLoc = ConsumeToken(); in ParseNamespace() 113 ExtraNSs.back().IdentLoc); in ParseNamespace() 122 Decl *NSAlias = ParseNamespaceAlias(NamespaceLoc, IdentLoc, Ident, DeclEnd); in ParseNamespace() 167 ExtraNSs.back().IdentLoc); in ParseNamespace() 185 ExtraNSs.back().IdentLoc), in ParseNamespace() 206 getCurScope(), InlineLoc, NamespaceLoc, IdentLoc, Ident, in ParseNamespace() 253 InnerNSs[index].IdentLoc, InnerNSs[index].Ident, in ParseInnerNamespace() 304 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias() local [all …]
|
| H A D | ParseDecl.cpp | 5383 SourceLocation IdentLoc = ConsumeToken(); in ParseEnumBody() local 5411 getCurScope(), EnumDecl, LastEnumConstDecl, IdentLoc, Ident, attrs, in ParseEnumBody()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 3105 SourceLocation IdentLoc, in UsingDirectiveDecl() argument 3108 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl() 3169 SourceLocation IdentLoc, 3199 SourceLocation IdentLoc; variable 3211 SourceLocation IdentLoc, NamedDecl *Namespace) in NamespaceAliasDecl() argument 3213 NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc), in NamespaceAliasDecl() 3230 SourceLocation IdentLoc, 3281 SourceLocation getTargetNameLoc() const { return IdentLoc; } in getTargetNameLoc() 3288 return SourceRange(NamespaceLoc, IdentLoc); in getSourceRange()
|
| H A D | Stmt.h | 166 SourceLocation IdentLoc; 2172 SourceLocation getIdentLoc() const { return LabelStmtBits.IdentLoc; } 2173 void setIdentLoc(SourceLocation L) { LabelStmtBits.IdentLoc = L; }
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 1972 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression() local 2010 if (!ParseRegister(Reg, IdentLoc, End, /*RestoreOnFailure=*/true)) { in ParseIntelExpression() 2012 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 2021 !MatchRegisterByName(Reg, ID, IdentLoc, IDEndLoc)) { in ParseIntelExpression() 2023 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 2032 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 2071 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 2080 return Error(IdentLoc, "expected identifier"); in ParseIntelExpression() 2085 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() 2094 return Error(IdentLoc, ErrMsg); in ParseIntelExpression() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaObjC.cpp | 1996 IdentifierLoc *IdentLoc = in handleNSErrorDomain() local 1998 if (!IdentLoc || !IdentLoc->getIdentifierInfo()) { in handleNSErrorDomain() 2009 LookupResult Result(SemaRef, DeclarationName(IdentLoc->getIdentifierInfo()), in handleNSErrorDomain() 2014 Diag(IdentLoc->getLoc(), diag::err_nserrordomain_invalid_decl) in handleNSErrorDomain() 2015 << 1 << IdentLoc->getIdentifierInfo(); in handleNSErrorDomain() 2020 getASTContext(), Attr, IdentLoc->getIdentifierInfo())); in handleNSErrorDomain()
|
| H A D | SemaDeclCXX.cpp | 11768 SourceLocation IdentLoc, IdentifierInfo *II, in ActOnStartNamespaceDef() argument 11774 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef() 11808 LookupResult R(*this, II, IdentLoc, LookupOrdinaryName, in ActOnStartNamespaceDef() 12391 SourceLocation IdentLoc, in TryNamespaceTypoCorrection() argument 12428 SourceLocation IdentLoc, in ActOnUsingDirective() argument 12433 assert(IdentLoc.isValid() && "Invalid NamespceName location."); in ActOnUsingDirective() 12444 LookupResult R(*this, NamespcName, IdentLoc, LookupNamespaceName); in ActOnUsingDirective() 12455 Diag(IdentLoc, diag::ext_using_undefined_std); in ActOnUsingDirective() 12460 else TryNamespaceTypoCorrection(*this, R, S, SS, IdentLoc, NamespcName); in ActOnUsingDirective() 12469 DiagnoseUseOfDecl(Named, IdentLoc); in ActOnUsingDirective() [all …]
|
| H A D | SemaStmt.cpp | 598 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument 602 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt() 609 !Context.getSourceManager().isInSystemHeader(IdentLoc)) in ActOnLabelStmt() 610 Diag(IdentLoc, diag::warn_reserved_extern_symbol) in ActOnLabelStmt() 628 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt() 631 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt() 635 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
|
| H A D | SemaDecl.cpp | 14506 StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier() argument 14518 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier() 14522 D.SetIdentifier(Ident, IdentLoc); in ActOnCXXForRangeIdentifier() 14525 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/ false), in ActOnCXXForRangeIdentifier() 14526 IdentLoc); in ActOnCXXForRangeIdentifier() 14530 return ActOnDeclStmt(FinalizeDeclaratorGroup(S, DS, Var), IdentLoc, in ActOnCXXForRangeIdentifier() 14532 : IdentLoc); in ActOnCXXForRangeIdentifier() 15608 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations() 15619 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations() 15622 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations() [all …]
|
| H A D | SemaHLSL.cpp | 194 SourceLocation IdentLoc, in ActOnStartBuffer() argument 199 getASTContext(), LexicalParent, CBuffer, KwLoc, Ident, IdentLoc, LBrace); in ActOnStartBuffer()
|
| H A D | SemaType.cpp | 5152 S.Diag(FTI.Params[0].IdentLoc, in GetFullTypeForDeclarator() 5197 S.Diag(FTI.Params[i].IdentLoc, diag::err_void_only_param); in GetFullTypeForDeclarator() 5202 S.Diag(FTI.Params[i].IdentLoc, diag::err_param_with_void_type); in GetFullTypeForDeclarator()
|
| H A D | TreeTransform.h | 1388 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt() argument 1390 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaHLSL.h | 111 IdentifierInfo *Ident, SourceLocation IdentLoc,
|
| H A D | DeclSpec.h | 1334 SourceLocation IdentLoc; member 1347 : Ident(ident), IdentLoc(iloc), Param(param), in Ident()
|
| H A D | Sema.h | 4089 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, 5162 SourceLocation IdentLoc, IdentifierInfo *Ident, 5238 SourceLocation IdentLoc, 5246 CXXScopeSpec &SS, SourceLocation IdentLoc, 9479 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc, 10914 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 3204 SourceLocation IdentLoc, in Create() argument 3210 IdentLoc, Used, CommonAncestor); in Create() 3283 SourceLocation IdentLoc, in Create() argument 3289 QualifierLoc, IdentLoc, Namespace); in Create()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 3177 SourceLocation IdentLoc; member
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1890 D->IdentLoc = readSourceLocation(); in VisitNamespaceAliasDecl()
|