| /freebsd/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/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 64 commit.insertFromRange(Hint.RemoveRange.getBegin(), in mergeFixits() 68 commit.remove(Hint.RemoveRange); in mergeFixits() 70 if (Hint.RemoveRange.isTokenRange() || in mergeFixits() 71 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits() 72 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits() 74 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits() 109 if (Hint.RemoveRange.isValid()) in emitDiagnostic() 110 MutableRanges.push_back(Hint.RemoveRange); in emitDiagnostic()
|
| H A D | TextDiagnostic.cpp | 1016 SM.getDecomposedExpansionLoc(H.RemoveRange.getBegin()); in buildFixItInsertionLine() 1512 if (H.RemoveRange.isInvalid() || H.RemoveRange.getBegin().isMacroID() || in emitParseableFixits() 1513 H.RemoveRange.getEnd().isMacroID()) in emitParseableFixits() 1518 SourceLocation BLoc = H.RemoveRange.getBegin(); in emitParseableFixits() 1519 SourceLocation ELoc = H.RemoveRange.getEnd(); in emitParseableFixits() 1525 if (H.RemoveRange.isTokenRange()) in emitParseableFixits()
|
| H A D | ASTUnit.cpp | 1287 OutFix.RemoveRange = makeStandaloneRange(InFix.RemoveRange, SM, LangOpts); in makeStandaloneFixIt() 2440 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics() 2441 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics() 2442 FH.RemoveRange = CharSourceRange::getCharRange(BL, EL); in TranslateStoredDiagnostics()
|
| H A D | SerializedDiagnosticPrinter.cpp | 719 AddCharSourceRangeToRecord(Fix.RemoveRange, Record, SM); in EmitCodeContext()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 81 CharSourceRange RemoveRange; 97 bool isNull() const { return !RemoveRange.isValid(); } in isNull() 104 Hint.RemoveRange = 118 Hint.RemoveRange = 127 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { in CreateRemoval() argument 129 Hint.RemoveRange = RemoveRange; in CreateRemoval() 132 static FixItHint CreateRemoval(SourceRange RemoveRange) { in CreateRemoval() argument 133 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange)); in CreateRemoval() 138 static FixItHint CreateReplacement(CharSourceRange RemoveRange, in CreateReplacement() argument 141 Hint.RemoveRange = RemoveRange; in CreateReplacement() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 1386 commit.insertFromRange(fixit.RemoveRange.getBegin(), in ApplyFixIt() 1391 commit.remove(fixit.RemoveRange); in ApplyFixIt() 1394 if (fixit.RemoveRange.isTokenRange() || in ApplyFixIt() 1395 fixit.RemoveRange.getBegin() != fixit.RemoveRange.getEnd()) { in ApplyFixIt() 1396 commit.replace(fixit.RemoveRange, fixit.CodeToInsert); in ApplyFixIt() 1399 commit.insert(fixit.RemoveRange.getBegin(), fixit.CodeToInsert, in ApplyFixIt()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 699 const SourceLocation BLoc = FixIt.RemoveRange.getBegin(); in ProcessCodeCompleteResults() 700 const SourceLocation ELoc = FixIt.RemoveRange.getEnd(); in ProcessCodeCompleteResults() 706 if (FixIt.RemoveRange.isTokenRange()) in ProcessCodeCompleteResults()
|
| H A D | AnalysisBasedWarnings.cpp | 1131 S.Diag(Fixit1.RemoveRange.getBegin(), diag::note_uninit_fixit_remove_cond) in DiagUninitUse()
|
| H A D | SemaDecl.cpp | 10058 SourceRange RemoveRange = TemplateParams->getSourceRange(); in ActOnFunctionDeclarator() local 10072 << Name << RemoveRange in ActOnFunctionDeclarator() 10073 << FixItHint::CreateRemoval(RemoveRange) in ActOnFunctionDeclarator()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | TextDiagnostics.cpp | 75 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl()
|
| H A D | PlistDiagnostics.cpp | 228 EmitRange(o, SM, Lexer::getAsCharRange(fixit.RemoveRange, SM, LangOpts), in EmitFixits()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 92 std::pair<unsigned, unsigned> RemoveRange; member
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 2664 return SM.isBeforeInTranslationUnit(H1->RemoveRange.getBegin(), in anyConflict() 2665 H2->RemoveRange.getBegin()); in anyConflict() 2672 SM.isBeforeInTranslationUnit(CurrHint->RemoveRange.getEnd(), in anyConflict() 2673 Hint->RemoveRange.getBegin())) { in anyConflict() 3777 auto Range = Hint.RemoveRange; in overlapWithMacro()
|