| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | Availability.h | 39 SourceLocation BeginLoc, EndLoc; variable 43 SourceLocation BeginLoc, SourceLocation EndLoc) in AvailabilitySpec() argument 44 : Version(Version), Platform(Platform), BeginLoc(BeginLoc), in AvailabilitySpec() 49 : BeginLoc(StarLoc), EndLoc(StarLoc) {} in AvailabilitySpec() 53 SourceLocation getBeginLoc() const { return BeginLoc; } in getBeginLoc()
|
| H A D | DeclarationName.h | 736 static DeclarationNameLoc makeCXXOperatorNameLoc(SourceLocation BeginLoc, in makeCXXOperatorNameLoc() argument 738 return makeCXXOperatorNameLoc(SourceRange(BeginLoc, EndLoc)); in makeCXXOperatorNameLoc()
|
| H A D | Expr.h | 6342 SourceLocation BeginLoc, SourceLocation EndLoc, 6360 SourceLocation getBeginLoc() const { return BeginLoc; } in getBeginLoc() 6368 RecoveryExpr(ASTContext &Ctx, QualType T, SourceLocation BeginLoc, 6375 SourceLocation BeginLoc, EndLoc; variable
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 65 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl() 77 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl() 148 SourceLocation BeginLoc = in ActOnModuleDecl() local 151 : ModuleScopes.back().BeginLoc; in ActOnModuleDecl() 152 if (BeginLoc.isValid()) { in ActOnModuleDecl() 153 Diag(BeginLoc, diag::note_global_module_introducer_missing) in ActOnModuleDecl() 154 << FixItHint::CreateInsertion(BeginLoc, "module;\n"); in ActOnModuleDecl() 229 ModuleScopes.back().BeginLoc = StartLoc; in ActOnModuleDecl() 260 Diag(ModuleScopes.back().BeginLoc, diag::note_previous_definition); in ActOnPrivateModuleFragmentDecl() 269 Diag(ModuleScopes.back().BeginLoc, in ActOnPrivateModuleFragmentDecl() [all …]
|
| H A D | SemaCast.cpp | 1030 SourceLocation BeginLoc = OpRange.getBegin(); in DiagnoseReinterpretUpDownCast() local 1031 Self.Diag(BeginLoc, diag::warn_reinterpret_different_from_static) in DiagnoseReinterpretUpDownCast() 1034 Self.Diag(BeginLoc, diag::note_reinterpret_updowncast_use_static) in DiagnoseReinterpretUpDownCast() 1036 << FixItHint::CreateReplacement(BeginLoc, "static_cast"); in DiagnoseReinterpretUpDownCast()
|
| H A D | Sema.cpp | 1122 Diag(ModuleScopes.back().BeginLoc, in ActOnEndOfTranslationUnit()
|
| H A D | SemaChecking.cpp | 11177 SourceLocation BeginLoc = E->getBeginLoc(); in IsEnumConstOrFromMacro() local 11178 if (BeginLoc.isMacroID()) { in IsEnumConstOrFromMacro() 11180 BeginLoc, S.getSourceManager(), S.getLangOpts()); in IsEnumConstOrFromMacro()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/ |
| H A D | Tokens.cpp | 148 FileRange::FileRange(const SourceManager &SM, SourceLocation BeginLoc, in FileRange() argument 150 assert(BeginLoc.isValid()); in FileRange() 151 assert(BeginLoc.isFileID()); in FileRange() 153 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc); in FileRange() 156 FileRange::FileRange(const SourceManager &SM, SourceLocation BeginLoc, in FileRange() argument 158 assert(BeginLoc.isValid()); in FileRange() 159 assert(BeginLoc.isFileID()); in FileRange() 162 assert(SM.getFileID(BeginLoc) == SM.getFileID(EndLoc)); in FileRange() 163 assert(SM.getFileOffset(BeginLoc) <= SM.getFileOffset(EndLoc)); in FileRange() 165 std::tie(File, Begin) = SM.getDecomposedLoc(BeginLoc); in FileRange()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
| H A D | PreprocessingRecord.cpp | 254 SourceLocation BeginLoc = Entity->getSourceRange().getBegin(); in addPreprocessedEntity() local 259 BeginLoc, in addPreprocessedEntity() 268 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity() 296 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity() 306 llvm::upper_bound(PreprocessedEntities, BeginLoc, in addPreprocessedEntity()
|
| H A D | Pragma.cpp | 1643 SourceLocation BeginLoc = Tok.getLocation(); in HandlePragma() local 1685 PP.Diag(BeginLoc, diag::note_pp_module_begin_here) in HandlePragma() 1691 PP.EnterSubmodule(M, BeginLoc, /*ForPragma*/true); in HandlePragma() 1692 PP.EnterAnnotationToken(SourceRange(BeginLoc, ModuleName.back().second), in HandlePragma() 1802 SourceLocation BeginLoc = PP.getPragmaARCCFCodeAuditedInfo().second; in HandlePragma() local 1809 if (BeginLoc.isValid()) { in HandlePragma() 1811 PP.Diag(BeginLoc, diag::note_pragma_entered_here); in HandlePragma() 1816 if (!BeginLoc.isValid()) { in HandlePragma() 1857 SourceLocation BeginLoc = PP.getPragmaAssumeNonNullLoc(); in HandlePragma() local 1865 if (BeginLoc.isValid()) { in HandlePragma() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 140 bool visit(const NamedDecl *ND, SourceLocation BeginLoc, in visit() argument 143 ND, SourceRange(BeginLoc, EndLoc)); in visit()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 89 const SourceLocation BeginLoc = Loc; in checkAndAddLocation() local 91 BeginLoc, 0, Context.getSourceManager(), Context.getLangOpts()); in checkAndAddLocation() 93 Lexer::getSourceText(CharSourceRange::getTokenRange(BeginLoc, EndLoc), in checkAndAddLocation() 101 BeginLoc.getLocWithOffset(Offset)); in checkAndAddLocation()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/ |
| H A D | Tokens.h | 56 FileRange(const SourceManager &SM, SourceLocation BeginLoc, unsigned Length); 59 FileRange(const SourceManager &SM, SourceLocation BeginLoc,
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
| H A D | Parser.cpp | 1703 SourceLocation BeginLoc = NameLoc; in TryAnnotateName() local 1705 BeginLoc = SS.getBeginLoc(); in TryAnnotateName() 1729 Tok.setLocation(BeginLoc); in TryAnnotateName() 1972 SourceLocation BeginLoc = Tok.getLocation(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local 1974 BeginLoc = SS.getBeginLoc(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() 1999 Tok.setLocation(BeginLoc); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
|
| H A D | ParseExpr.cpp | 3634 ExprResult Parser::ParseAvailabilityCheckExpr(SourceLocation BeginLoc) { in ParseAvailabilityCheckExpr() argument 3668 return Actions.ActOnObjCAvailabilityCheckExpr(AvailSpecs, BeginLoc, in ParseAvailabilityCheckExpr()
|
| H A D | ParseOpenMP.cpp | 1791 SourceLocation BeginLoc, in parseOMPEndDirective() argument 1804 Diag(BeginLoc, diag::note_matching) in parseOMPEndDirective()
|
| H A D | ParseDecl.cpp | 1573 SourceLocation BeginLoc = ConsumeBracket(); in DiagnoseProhibitedCXX11Attribute() local 1578 Diag(BeginLoc, diag::err_attributes_not_allowed) in DiagnoseProhibitedCXX11Attribute() 1579 << SourceRange(BeginLoc, EndLoc); in DiagnoseProhibitedCXX11Attribute()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | Stmt.cpp | 716 SourceLocation BeginLoc = getAsmString()->getLocationOfByte( in AnalyzeAsmString() local 723 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc); in AnalyzeAsmString() 752 SourceLocation BeginLoc = getAsmString()->getLocationOfByte( in AnalyzeAsmString() local 759 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc); in AnalyzeAsmString()
|
| H A D | Expr.cpp | 4719 RecoveryExpr::RecoveryExpr(ASTContext &Ctx, QualType T, SourceLocation BeginLoc, in RecoveryExpr() argument 4724 BeginLoc(BeginLoc), EndLoc(EndLoc), NumExprs(SubExprs.size()) { in RecoveryExpr() 4733 SourceLocation BeginLoc, in Create() argument 4738 return new (Mem) RecoveryExpr(Ctx, T, BeginLoc, EndLoc, SubExprs); in Create()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 997 SourceLocation BeginLoc = Range.getBegin(); in getSourceRangeOffsets() local 1002 EndLoc = BeginLoc; in getSourceRangeOffsets() 1004 unsigned Begin = SrcMgr.getFileOffset(SrcMgr.getExpansionLoc(BeginLoc)); in getSourceRangeOffsets()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporterVisitors.cpp | 2460 SourceLocation BeginLoc = OriginalExpr->getBeginLoc(); in patternMatch() local 2462 if (BeginLoc.isMacroID() && EndLoc.isMacroID()) { in patternMatch() 2465 if (Lexer::isAtStartOfMacroExpansion(BeginLoc, SM, LO) && in patternMatch() 2467 CharSourceRange R = Lexer::getAsCharRange({BeginLoc, EndLoc}, SM, LO); in patternMatch()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
| H A D | CIndex.cpp | 576 SourceLocation BeginLoc = RegionOfInterest.getBegin(); in VisitChildren() local 578 BeginLoc == RegionOfInterest.getEnd()) { in VisitChildren() 579 SourceLocation Loc = AU->mapLocationToPreamble(BeginLoc); in VisitChildren() 584 return Visit(cxcursor::MakeMacroExpansionCursor(MacroDef, BeginLoc, TU)); in VisitChildren() 7638 SourceLocation BeginLoc = Tok.getLocation(); in annotatePreprocessorTokens() local 7681 MakePreprocessingDirectiveCursor(SourceRange(BeginLoc, EndLoc), TU); in annotatePreprocessorTokens()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 2189 E->BeginLoc = readSourceLocation(); in VisitRecoveryExpr()
|
| H A D | ASTReader.cpp | 7588 BeginLoc = SM.getLocForStartOfFile(File).getLocWithOffset(Offset); in FindFileRegionDecls() local 7589 SourceLocation EndLoc = BeginLoc.getLocWithOffset(Length); in FindFileRegionDecls() 7593 llvm::lower_bound(DInfo.Decls, BeginLoc, DIDComp); in FindFileRegionDecls()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 2758 LocTy BeginLoc = Lex.getLoc(); in parseOptionalOperandBundles() local 2795 return error(BeginLoc, "operand bundle set must not be empty"); in parseOptionalOperandBundles()
|