| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | FixItRewriter.cpp | 162 commit.insertFromRange(Hint.RemoveRange.getBegin(), in HandleDiagnostic() 166 commit.remove(Hint.RemoveRange); in HandleDiagnostic() 168 if (Hint.RemoveRange.isTokenRange() || in HandleDiagnostic() 169 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in HandleDiagnostic() 170 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic() 172 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in HandleDiagnostic()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 65 commit.insertFromRange(Hint.RemoveRange.getBegin(), in mergeFixits() 69 commit.remove(Hint.RemoveRange); in mergeFixits() 71 if (Hint.RemoveRange.isTokenRange() || in mergeFixits() 72 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits() 73 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits() 75 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits() 111 if (Hint.RemoveRange.isValid()) in emitDiagnostic() 112 MutableRanges.push_back(Hint.RemoveRange); in emitDiagnostic()
|
| H A D | TextDiagnostic.cpp | 1019 SM.getDecomposedExpansionLoc(H.RemoveRange.getBegin()); in buildFixItInsertionLine() 1515 if (H.RemoveRange.isInvalid() || H.RemoveRange.getBegin().isMacroID() || 1516 H.RemoveRange.getEnd().isMacroID()) 1521 SourceLocation BLoc = H.RemoveRange.getBegin(); 1522 SourceLocation ELoc = H.RemoveRange.getEnd(); 1528 if (H.RemoveRange.isTokenRange())
|
| H A D | ASTUnit.cpp | 1286 OutFix.RemoveRange = makeStandaloneRange(InFix.RemoveRange, SM, LangOpts); in makeStandaloneDiagnostic() 2426 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in addFileLevelDecl() 2427 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in addFileLevelDecl() 2428 FH.RemoveRange = CharSourceRange::getCharRange(BL, EL); in addFileLevelDecl()
|
| H A D | SerializedDiagnosticPrinter.cpp | 718 AddCharSourceRangeToRecord(Fix.RemoveRange, Record, SM); in EmitCodeContext()
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 75 CharSourceRange RemoveRange; 92 return !RemoveRange.isValid(); in isNull() 101 Hint.RemoveRange = 114 Hint.RemoveRange = 123 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { in CreateRemoval() argument 125 Hint.RemoveRange = RemoveRange; in CreateRemoval() 128 static FixItHint CreateRemoval(SourceRange RemoveRange) { in CreateRemoval() argument 129 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange)); in CreateRemoval() 134 static FixItHint CreateReplacement(CharSourceRange RemoveRange, in CreateReplacement() argument 137 Hint.RemoveRange = RemoveRange; in CreateReplacement() [all …]
|
| /freebsd-src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 1209 commit.insertFromRange(fixit.RemoveRange.getBegin(), in ApplyFixIt() 1214 commit.remove(fixit.RemoveRange); in ApplyFixIt() 1217 if (fixit.RemoveRange.isTokenRange() || in ApplyFixIt() 1218 fixit.RemoveRange.getBegin() != fixit.RemoveRange.getEnd()) { in ApplyFixIt() 1219 commit.replace(fixit.RemoveRange, fixit.CodeToInsert); in ApplyFixIt() 1222 commit.insert(fixit.RemoveRange.getBegin(), fixit.CodeToInsert,
|
| /freebsd-src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 703 const SourceLocation BLoc = FixIt.RemoveRange.getBegin(); in ProcessCodeCompleteResults() 704 const SourceLocation ELoc = FixIt.RemoveRange.getEnd(); in ProcessCodeCompleteResults() 710 if (FixIt.RemoveRange.isTokenRange()) in ProcessCodeCompleteResults()
|
| H A D | AnalysisBasedWarnings.cpp | 994 S.Diag(Fixit1.RemoveRange.getBegin(), diag::note_uninit_fixit_remove_cond) in DiagUninitUse()
|
| H A D | SemaDecl.cpp | 9845 SourceRange RemoveRange = TemplateParams->getSourceRange(); in ActOnFunctionDeclarator() 9859 << Name << RemoveRange in ActOnFunctionDeclarator() 9860 << FixItHint::CreateRemoval(RemoveRange) in ActOnFunctionDeclarator() 9988 SourceRange RemoveRange = TemplateParams->getSourceRange(); ActOnFunctionDeclarator() local
|
| /freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | TextDiagnostics.cpp | 80 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl()
|
| H A D | PlistDiagnostics.cpp | 231 EmitRange(o, SM, Lexer::getAsCharRange(fixit.RemoveRange, SM, LangOpts), in EmitFixits()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 1566 return SM.isBeforeInTranslationUnit(H1->RemoveRange.getBegin(), in getSourceRangeToTokenEnd() 1567 H2->RemoveRange.getBegin()); in getSourceRangeToTokenEnd() 1574 SM.isBeforeInTranslationUnit(CurrHint->RemoveRange.getEnd(), in getSourceRangeToTokenEnd() 1575 Hint->RemoveRange.getBegin())) { 2812 // `RemoveRange` of 'h' overlaps with a macro use. in checkUnsafeBufferUsage() 2817 auto Range = Hint.RemoveRange; in checkUnsafeBufferUsage()
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 92 std::pair<unsigned, unsigned> RemoveRange; member
|