Home
last modified time | relevance | path

Searched refs:RemoveRange (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp65 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 DTextDiagnostic.cpp1019 SM.getDecomposedExpansionLoc(H.RemoveRange.getBegin()); in buildFixItInsertionLine()
1515 if (H.RemoveRange.isInvalid() || H.RemoveRange.getBegin().isMacroID() || in emitParseableFixits()
1516 H.RemoveRange.getEnd().isMacroID()) in emitParseableFixits()
1521 SourceLocation BLoc = H.RemoveRange.getBegin(); in emitParseableFixits()
1522 SourceLocation ELoc = H.RemoveRange.getEnd(); in emitParseableFixits()
1528 if (H.RemoveRange.isTokenRange()) in emitParseableFixits()
H A DASTUnit.cpp1286 OutFix.RemoveRange = makeStandaloneRange(InFix.RemoveRange, SM, LangOpts); in makeStandaloneFixIt()
2426 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2427 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
2428 FH.RemoveRange = CharSourceRange::getCharRange(BL, EL); in TranslateStoredDiagnostics()
H A DSerializedDiagnosticPrinter.cpp718 AddCharSourceRangeToRecord(Fix.RemoveRange, Record, SM); in EmitCodeContext()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp1209 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, in ApplyFixIt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp703 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 DAnalysisBasedWarnings.cpp994 S.Diag(Fixit1.RemoveRange.getBegin(), diag::note_uninit_fixit_remove_cond) in DiagUninitUse()
H A DSemaDecl.cpp9845 SourceRange RemoveRange = TemplateParams->getSourceRange(); in ActOnFunctionDeclarator() local
9859 << Name << RemoveRange in ActOnFunctionDeclarator()
9860 << FixItHint::CreateRemoval(RemoveRange) in ActOnFunctionDeclarator()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DTextDiagnostics.cpp80 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1566 return SM.isBeforeInTranslationUnit(H1->RemoveRange.getBegin(), in anyConflict()
1567 H2->RemoveRange.getBegin()); in anyConflict()
1574 SM.isBeforeInTranslationUnit(CurrHint->RemoveRange.getEnd(), in anyConflict()
1575 Hint->RemoveRange.getBegin())) { in anyConflict()
2817 auto Range = Hint.RemoveRange; in overlapWithMacro()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h92 std::pair<unsigned, unsigned> RemoveRange; member