| /openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/ |
| H A D | FixItRewriter.cpp | 161 commit.insertFromRange(Hint.RemoveRange.getBegin(), in HandleDiagnostic() 165 commit.remove(Hint.RemoveRange); in HandleDiagnostic() 167 if (Hint.RemoveRange.isTokenRange() || in HandleDiagnostic() 168 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in HandleDiagnostic() 169 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic() 171 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in HandleDiagnostic()
|
| /openbsd-src/gnu/llvm/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 | 1077 = SM.getDecomposedExpansionLoc(I->RemoveRange.getBegin()); in buildFixItInsertionLine() 1323 if (I->RemoveRange.isInvalid() || in emitParseableFixits() 1324 I->RemoveRange.getBegin().isMacroID() || in emitParseableFixits() 1325 I->RemoveRange.getEnd().isMacroID()) in emitParseableFixits() 1331 SourceLocation BLoc = I->RemoveRange.getBegin(); in emitParseableFixits() 1332 SourceLocation ELoc = I->RemoveRange.getEnd(); in emitParseableFixits() 1338 if (I->RemoveRange.isTokenRange()) in emitParseableFixits()
|
| H A D | ASTUnit.cpp | 1266 OutFix.RemoveRange = makeStandaloneRange(InFix.RemoveRange, SM, LangOpts); in makeStandaloneFixIt() 2407 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics() 2408 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics() 2409 FH.RemoveRange = CharSourceRange::getCharRange(BL, EL); in TranslateStoredDiagnostics()
|
| H A D | SerializedDiagnosticPrinter.cpp | 720 AddCharSourceRangeToRecord(Fix.RemoveRange, Record, SM); in EmitCodeContext()
|
| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 1222 commit.insertFromRange(fixit.RemoveRange.getBegin(), in ApplyFixIt() 1227 commit.remove(fixit.RemoveRange); in ApplyFixIt() 1230 if (fixit.RemoveRange.isTokenRange() || in ApplyFixIt() 1231 fixit.RemoveRange.getBegin() != fixit.RemoveRange.getEnd()) { in ApplyFixIt() 1232 commit.replace(fixit.RemoveRange, fixit.CodeToInsert); in ApplyFixIt() 1235 commit.insert(fixit.RemoveRange.getBegin(), fixit.CodeToInsert, in ApplyFixIt()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXStoredDiagnostic.cpp | 107 LangOpts, Hint.RemoveRange); in getFixIt()
|
| H A D | CIndexCodeCompletion.cpp | 345 FixIt.RemoveRange); in clang_getCompletionFixIt()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 696 const SourceLocation BLoc = FixIt.RemoveRange.getBegin(); in ProcessCodeCompleteResults() 697 const SourceLocation ELoc = FixIt.RemoveRange.getEnd(); in ProcessCodeCompleteResults() 703 if (FixIt.RemoveRange.isTokenRange()) in ProcessCodeCompleteResults()
|
| H A D | AnalysisBasedWarnings.cpp | 970 S.Diag(Fixit1.RemoveRange.getBegin(), diag::note_uninit_fixit_remove_cond) in DiagUninitUse()
|
| H A D | SemaDecl.cpp | 9749 SourceRange RemoveRange = TemplateParams->getSourceRange(); in ActOnFunctionDeclarator() local 9763 << Name << RemoveRange in ActOnFunctionDeclarator() 9764 << FixItHint::CreateRemoval(RemoveRange) in ActOnFunctionDeclarator()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 91 std::pair<unsigned, unsigned> RemoveRange; member
|