| /freebsd-13.1/contrib/llvm-project/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 | 6409 SourceLocation BeginLoc, SourceLocation EndLoc, 6427 SourceLocation getBeginLoc() const { return BeginLoc; } in getBeginLoc() 6435 RecoveryExpr(ASTContext &Ctx, QualType T, SourceLocation BeginLoc, 6442 SourceLocation BeginLoc, EndLoc; variable
|
| /freebsd-13.1/contrib/llvm-project/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() 269 Diag(ModuleScopes.back().BeginLoc, in ActOnPrivateModuleFragmentDecl() 291 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnPrivateModuleFragmentDecl() [all …]
|
| H A D | SemaCast.cpp | 1039 SourceLocation BeginLoc = OpRange.getBegin(); in DiagnoseReinterpretUpDownCast() local 1040 Self.Diag(BeginLoc, diag::warn_reinterpret_different_from_static) in DiagnoseReinterpretUpDownCast() 1043 Self.Diag(BeginLoc, diag::note_reinterpret_updowncast_use_static) in DiagnoseReinterpretUpDownCast() 1045 << FixItHint::CreateReplacement(BeginLoc, "static_cast"); in DiagnoseReinterpretUpDownCast()
|
| H A D | Sema.cpp | 1180 Diag(ModuleScopes.back().BeginLoc, in ActOnEndOfTranslationUnit()
|
| H A D | SemaChecking.cpp | 11450 SourceLocation BeginLoc = E->getBeginLoc(); in IsEnumConstOrFromMacro() local 11451 if (BeginLoc.isMacroID()) { in IsEnumConstOrFromMacro() 11453 BeginLoc, S.getSourceManager(), S.getLangOpts()); in IsEnumConstOrFromMacro()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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 | 1706 SourceLocation BeginLoc = Tok.getLocation(); in HandlePragma() local 1748 PP.Diag(BeginLoc, diag::note_pp_module_begin_here) in HandlePragma() 1754 PP.EnterSubmodule(M, BeginLoc, /*ForPragma*/true); in HandlePragma() 1865 SourceLocation BeginLoc = PP.getPragmaARCCFCodeAuditedInfo().second; in HandlePragma() local 1872 if (BeginLoc.isValid()) { in HandlePragma() 1874 PP.Diag(BeginLoc, diag::note_pragma_entered_here); in HandlePragma() 1879 if (!BeginLoc.isValid()) { in HandlePragma() 1920 SourceLocation BeginLoc = PP.getPragmaAssumeNonNullLoc(); in HandlePragma() local 1928 if (BeginLoc.isValid()) { in HandlePragma() 1930 PP.Diag(BeginLoc, diag::note_pragma_entered_here); in HandlePragma() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | Parser.cpp | 1706 SourceLocation BeginLoc = NameLoc; in TryAnnotateName() local 1708 BeginLoc = SS.getBeginLoc(); in TryAnnotateName() 1732 Tok.setLocation(BeginLoc); in TryAnnotateName() 1975 SourceLocation BeginLoc = Tok.getLocation(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local 1977 BeginLoc = SS.getBeginLoc(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec() 2002 Tok.setLocation(BeginLoc); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
|
| H A D | ParseExpr.cpp | 3664 ExprResult Parser::ParseAvailabilityCheckExpr(SourceLocation BeginLoc) { in ParseAvailabilityCheckExpr() argument 3698 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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 722 SourceLocation BeginLoc = getAsmString()->getLocationOfByte( in AnalyzeAsmString() local 729 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc); in AnalyzeAsmString() 758 SourceLocation BeginLoc = getAsmString()->getLocationOfByte( in AnalyzeAsmString() local 765 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc); in AnalyzeAsmString()
|
| H A D | Expr.cpp | 4790 RecoveryExpr::RecoveryExpr(ASTContext &Ctx, QualType T, SourceLocation BeginLoc, in RecoveryExpr() argument 4795 BeginLoc(BeginLoc), EndLoc(EndLoc), NumExprs(SubExprs.size()) { in RecoveryExpr() 4804 SourceLocation BeginLoc, in Create() argument 4809 return new (Mem) RecoveryExpr(Ctx, T, BeginLoc, EndLoc, SubExprs); in Create()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporterVisitors.cpp | 2682 SourceLocation BeginLoc = OriginalExpr->getBeginLoc(); in patternMatch() local 2684 if (BeginLoc.isMacroID() && EndLoc.isMacroID()) { in patternMatch() 2687 if (Lexer::isAtStartOfMacroExpansion(BeginLoc, SM, LO) && in patternMatch() 2689 CharSourceRange R = Lexer::getAsCharRange({BeginLoc, EndLoc}, SM, LO); in patternMatch()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 2199 E->BeginLoc = readSourceLocation(); in VisitRecoveryExpr()
|
| H A D | ASTReader.cpp | 7615 BeginLoc = SM.getLocForStartOfFile(File).getLocWithOffset(Offset); in FindFileRegionDecls() local 7616 SourceLocation EndLoc = BeginLoc.getLocWithOffset(Length); in FindFileRegionDecls() 7620 llvm::lower_bound(DInfo.Decls, BeginLoc, DIDComp); in FindFileRegionDecls()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 2429 LocTy BeginLoc = Lex.getLoc(); in parseOptionalOperandBundles() local 2466 return error(BeginLoc, "operand bundle set must not be empty"); in parseOptionalOperandBundles()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 2169 SourceLocation BeginLoc; member 9748 SourceLocation BeginLoc, // location of the + or -.
|