Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/Rewrite/
DFixItRewriter.cpp148 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()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp101 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()
DTextDiagnostic.cpp1002 = 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()
DASTUnit.cpp1272 OutFix.RemoveRange = makeStandaloneRange(InFix.RemoveRange, SM, LangOpts); in makeStandaloneFixIt()
2527 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2528 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
2529 FH.RemoveRange = CharSourceRange::getCharRange(BL, EL); in TranslateStoredDiagnostics()
DSerializedDiagnosticPrinter.cpp742 AddCharSourceRangeToRecord(Fix.RemoveRange, Record, SM); in EmitCodeContext()
/external/clang/include/clang/Basic/
DDiagnostic.h55 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 …]
/external/v8/src/
Dallocation-tracker.cc121 RemoveRange(start, end); in AddRange()
141 RemoveRange(from, from + size); in MoveObject()
161 void AddressToTraceMap::RemoveRange(Address start, Address end) { in RemoveRange() function in v8::internal::AddressToTraceMap
Dallocation-tracker.h82 void RemoveRange(Address start, Address end);
/external/clang/tools/libclang/
DCXStoredDiagnostic.cpp111 LangOpts, Hint.RemoveRange); in getFixIt()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DListExtensions.cs182 list.RemoveRange(size, list.Count - size); in setSize()
/external/clang/include/clang/Frontend/
DASTUnit.h69 std::pair<unsigned, unsigned> RemoveRange; member
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp819 S.Diag(Fixit1.RemoveRange.getBegin(), diag::note_uninit_fixit_remove_cond) in DiagUninitUse()
DSemaDecl.cpp7181 SourceRange RemoveRange = TemplateParams->getSourceRange(); in ActOnFunctionDeclarator() local
7195 << Name << RemoveRange in ActOnFunctionDeclarator()
7196 << FixItHint::CreateRemoval(RemoveRange) in ActOnFunctionDeclarator()