Searched refs:RemoveRange (Results 1 – 10 of 10) sorted by relevance
/minix/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/ |
H A D | FixItRewriter.cpp | 148 commit.insertFromRange(Hint.RemoveRange.getBegin(), in HandleDiagnostic() 152 commit.remove(Hint.RemoveRange); in HandleDiagnostic() 154 if (Hint.RemoveRange.isTokenRange() || in HandleDiagnostic() 155 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in HandleDiagnostic() 156 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic() 158 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in HandleDiagnostic()
|
/minix/external/bsd/llvm/dist/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 101 commit.insertFromRange(Hint.RemoveRange.getBegin(), in mergeFixits() 105 commit.remove(Hint.RemoveRange); in mergeFixits() 107 if (Hint.RemoveRange.isTokenRange() || in mergeFixits() 108 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits() 109 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits() 111 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits() 151 if (I->RemoveRange.isValid()) in emitDiagnostic() 152 MutableRanges.push_back(I->RemoveRange); in emitDiagnostic()
|
H A D | TextDiagnostic.cpp | 1002 = SM.getDecomposedExpansionLoc(I->RemoveRange.getBegin()); in buildFixItInsertionLine() 1227 if (I->RemoveRange.isInvalid() || in emitParseableFixits() 1228 I->RemoveRange.getBegin().isMacroID() || in emitParseableFixits() 1229 I->RemoveRange.getEnd().isMacroID()) in emitParseableFixits() 1235 SourceLocation BLoc = I->RemoveRange.getBegin(); in emitParseableFixits() 1236 SourceLocation ELoc = I->RemoveRange.getEnd(); in emitParseableFixits() 1242 if (I->RemoveRange.isTokenRange()) in emitParseableFixits()
|
H A D | ASTUnit.cpp | 1285 OutFix.RemoveRange = makeStandaloneRange(InFix.RemoveRange, SM, LangOpts); in makeStandaloneFixIt() 2550 SourceLocation BL = FileLoc.getLocWithOffset(I->RemoveRange.first); in TranslateStoredDiagnostics() 2551 SourceLocation EL = FileLoc.getLocWithOffset(I->RemoveRange.second); in TranslateStoredDiagnostics() 2552 FH.RemoveRange = CharSourceRange::getCharRange(BL, EL); in TranslateStoredDiagnostics()
|
H A D | SerializedDiagnosticPrinter.cpp | 741 AddCharSourceRangeToRecord(Fix.RemoveRange, Record, SM); in EmitCodeContext()
|
/minix/external/bsd/llvm/dist/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 55 CharSourceRange RemoveRange; 72 return !RemoveRange.isValid(); in isNull() 81 Hint.RemoveRange = 94 Hint.RemoveRange = 103 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { in CreateRemoval() argument 105 Hint.RemoveRange = RemoveRange; in CreateRemoval() 108 static FixItHint CreateRemoval(SourceRange RemoveRange) { in CreateRemoval() argument 109 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange)); in CreateRemoval() 114 static FixItHint CreateReplacement(CharSourceRange RemoveRange, in CreateReplacement() argument 117 Hint.RemoveRange = RemoveRange; in CreateReplacement() [all …]
|
/minix/external/bsd/llvm/dist/clang/tools/libclang/ |
H A D | CXStoredDiagnostic.cpp | 111 LangOpts, Hint.RemoveRange); in getFixIt()
|
/minix/external/bsd/llvm/dist/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 69 std::pair<unsigned, unsigned> RemoveRange; member
|
/minix/external/bsd/llvm/dist/clang/lib/Sema/ |
H A D | AnalysisBasedWarnings.cpp | 817 S.Diag(Fixit1.RemoveRange.getBegin(), diag::note_uninit_fixit_remove_cond) in DiagUninitUse()
|
H A D | SemaDecl.cpp | 7056 SourceRange RemoveRange = TemplateParams->getSourceRange(); in ActOnFunctionDeclarator() local 7070 << Name << RemoveRange in ActOnFunctionDeclarator() 7071 << FixItHint::CreateRemoval(RemoveRange) in ActOnFunctionDeclarator()
|