/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 66 commit.insertFromRange(Hint.RemoveRange.getBegin(), in mergeFixits() 70 commit.remove(Hint.RemoveRange); in mergeFixits() 72 if (Hint.RemoveRange.isTokenRange() || in mergeFixits() 73 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits() 74 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits() 76 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits() 112 if (Hint.RemoveRange.isValid()) in emitDiagnostic() 113 MutableRanges.push_back(Hint.RemoveRange); in emitDiagnostic()
|
H A D | TextDiagnostic.cpp | 1075 = SM.getDecomposedExpansionLoc(I->RemoveRange.getBegin()); in buildFixItInsertionLine() 1321 if (I->RemoveRange.isInvalid() || in emitParseableFixits() 1322 I->RemoveRange.getBegin().isMacroID() || in emitParseableFixits() 1323 I->RemoveRange.getEnd().isMacroID()) in emitParseableFixits() 1329 SourceLocation BLoc = I->RemoveRange.getBegin(); in emitParseableFixits() 1330 SourceLocation ELoc = I->RemoveRange.getEnd(); in emitParseableFixits() 1336 if (I->RemoveRange.isTokenRange()) in emitParseableFixits()
|
H A D | ASTUnit.cpp | 1240 OutFix.RemoveRange = makeStandaloneRange(InFix.RemoveRange, SM, LangOpts); in makeStandaloneFixIt() 2377 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics() 2378 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics() 2379 FH.RemoveRange = CharSourceRange::getCharRange(BL, EL); in TranslateStoredDiagnostics()
|
H A D | SerializedDiagnosticPrinter.cpp | 721 AddCharSourceRangeToRecord(Fix.RemoveRange, Record, SM); in EmitCodeContext()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 74 CharSourceRange RemoveRange; 91 return !RemoveRange.isValid(); in isNull() 100 Hint.RemoveRange = 113 Hint.RemoveRange = 122 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { in CreateRemoval() argument 124 Hint.RemoveRange = RemoveRange; in CreateRemoval() 127 static FixItHint CreateRemoval(SourceRange RemoveRange) { in CreateRemoval() argument 128 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange)); in CreateRemoval() 133 static FixItHint CreateReplacement(CharSourceRange RemoveRange, in CreateReplacement() argument 136 Hint.RemoveRange = RemoveRange; in CreateReplacement() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | CodeCompleteConsumer.cpp | 592 const SourceLocation BLoc = FixIt.RemoveRange.getBegin(); in ProcessCodeCompleteResults() 593 const SourceLocation ELoc = FixIt.RemoveRange.getEnd(); in ProcessCodeCompleteResults() 599 if (FixIt.RemoveRange.isTokenRange()) in ProcessCodeCompleteResults()
|
H A D | AnalysisBasedWarnings.cpp | 967 S.Diag(Fixit1.RemoveRange.getBegin(), diag::note_uninit_fixit_remove_cond) in DiagUninitUse()
|
H A D | SemaDecl.cpp | 9099 SourceRange RemoveRange = TemplateParams->getSourceRange(); in ActOnFunctionDeclarator() local 9113 << Name << RemoveRange in ActOnFunctionDeclarator() 9114 << FixItHint::CreateRemoval(RemoveRange) in ActOnFunctionDeclarator()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | TextDiagnostics.cpp | 80 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl()
|
H A D | PlistDiagnostics.cpp | 230 EmitRange(o, SM, Lexer::getAsCharRange(fixit.RemoveRange, SM, LangOpts), in EmitFixits()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 92 std::pair<unsigned, unsigned> RemoveRange; member
|