Searched refs:RemoveRange (Results 1 - 13 of 13) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp161 commit.insertFromRange(Hint.RemoveRange.getBegin(),
165 commit.remove(Hint.RemoveRange);
167 if (Hint.RemoveRange.isTokenRange() ||
168 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd())
169 commit.replace(Hint.RemoveRange, Hint.CodeToInsert);
171 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp66 commit.insertFromRange(Hint.RemoveRange.getBegin(),
70 commit.remove(Hint.RemoveRange);
72 if (Hint.RemoveRange.isTokenRange() ||
73 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd())
74 commit.replace(Hint.RemoveRange, Hint.CodeToInsert);
76 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
112 if (Hint.RemoveRange.isValid())
113 MutableRanges.push_back(Hint.RemoveRange);
H A DTextDiagnostic.cpp1083 = SM.getDecomposedExpansionLoc(I->RemoveRange.getBegin());
1329 if (I->RemoveRange.isInvalid() ||
1330 I->RemoveRange.getBegin().isMacroID() ||
1331 I->RemoveRange.getEnd().isMacroID())
1337 SourceLocation BLoc = I->RemoveRange.getBegin();
1338 SourceLocation ELoc = I->RemoveRange.getEnd();
1344 if (I->RemoveRange.isTokenRange())
H A DASTUnit.cpp1250 OutFix.RemoveRange = makeStandaloneRange(InFix.RemoveRange, SM, LangOpts);
2404 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first);
2405 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second);
2406 FH.RemoveRange = CharSourceRange::getCharRange(BL, EL);
H A DSerializedDiagnosticPrinter.cpp721 AddCharSourceRangeToRecord(Fix.RemoveRange, Record, SM);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h74 CharSourceRange RemoveRange; member in class:clang::FixItHint
91 return !RemoveRange.isValid();
100 Hint.RemoveRange =
113 Hint.RemoveRange =
122 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { argument
124 Hint.RemoveRange = RemoveRange;
127 static FixItHint CreateRemoval(SourceRange RemoveRange) { argument
128 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange));
133 static FixItHint CreateReplacement(CharSourceRange RemoveRange, argument
141 CreateReplacement(SourceRange RemoveRange, StringRef Code) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DTextDiagnostics.cpp82 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert);
H A DPlistDiagnostics.cpp243 EmitRange(o, SM, Lexer::getAsCharRange(fixit.RemoveRange, SM, LangOpts),
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp1165 commit.insertFromRange(fixit.RemoveRange.getBegin(),
1170 commit.remove(fixit.RemoveRange);
1173 if (fixit.RemoveRange.isTokenRange() ||
1174 fixit.RemoveRange.getBegin() != fixit.RemoveRange.getEnd()) {
1175 commit.replace(fixit.RemoveRange, fixit.CodeToInsert);
1178 commit.insert(fixit.RemoveRange.getBegin(), fixit.CodeToInsert,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp594 const SourceLocation BLoc = FixIt.RemoveRange.getBegin();
595 const SourceLocation ELoc = FixIt.RemoveRange.getEnd();
601 if (FixIt.RemoveRange.isTokenRange())
H A DAnalysisBasedWarnings.cpp965 S.Diag(Fixit1.RemoveRange.getBegin(), diag::note_uninit_fixit_remove_cond)
H A DSemaDecl.cpp8957 SourceRange RemoveRange = TemplateParams->getSourceRange(); local
8971 << Name << RemoveRange
8972 << FixItHint::CreateRemoval(RemoveRange)
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h92 std::pair<unsigned, unsigned> RemoveRange; member in struct:clang::ASTUnit::StandaloneFixIt

Completed in 304 milliseconds