Home
last modified time | relevance | path

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

/external/clang/unittests/Tooling/
DFixItTest.cpp86 EXPECT_EQ("foo(x, y)", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
92 EXPECT_EQ("x", getText(Hint0.RemoveRange.getAsRange(), *Context)); in TEST()
98 EXPECT_EQ("y", getText(Hint1.RemoveRange.getAsRange(), *Context)); in TEST()
107 EXPECT_EQ("x + y", getText(Hint0.RemoveRange.getAsRange(), *Context)); in TEST()
111 EXPECT_EQ("y + x", getText(Hint1.RemoveRange.getAsRange(), *Context)); in TEST()
121 EXPECT_EQ("FOO", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
128 LocationToString(Hint0.RemoveRange.getBegin(), Context)); in TEST()
130 LocationToString(Hint0.RemoveRange.getEnd(), Context)); in TEST()
137 LocationToString(Hint1.RemoveRange.getBegin(), Context)); in TEST()
139 LocationToString(Hint1.RemoveRange.getEnd(), Context)); in TEST()
[all …]
/external/clang/lib/Frontend/Rewrite/
DFixItRewriter.cpp155 commit.insertFromRange(Hint.RemoveRange.getBegin(), in HandleDiagnostic()
159 commit.remove(Hint.RemoveRange); in HandleDiagnostic()
161 if (Hint.RemoveRange.isTokenRange() || in HandleDiagnostic()
162 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in HandleDiagnostic()
163 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic()
165 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in HandleDiagnostic()
/external/clang/include/clang/Basic/
DDiagnostic.h56 CharSourceRange RemoveRange;
73 return !RemoveRange.isValid(); in isNull()
82 Hint.RemoveRange =
95 Hint.RemoveRange =
104 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { in CreateRemoval() argument
106 Hint.RemoveRange = RemoveRange; in CreateRemoval()
109 static FixItHint CreateRemoval(SourceRange RemoveRange) { in CreateRemoval() argument
110 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange)); in CreateRemoval()
115 static FixItHint CreateReplacement(CharSourceRange RemoveRange, in CreateReplacement() argument
118 Hint.RemoveRange = RemoveRange; in CreateReplacement()
[all …]
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp59 commit.insertFromRange(Hint.RemoveRange.getBegin(), in mergeFixits()
63 commit.remove(Hint.RemoveRange); in mergeFixits()
65 if (Hint.RemoveRange.isTokenRange() || in mergeFixits()
66 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits()
67 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits()
69 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits()
109 if (I->RemoveRange.isValid()) in emitDiagnostic()
110 MutableRanges.push_back(I->RemoveRange); in emitDiagnostic()
DTextDiagnostic.cpp1010 = SM.getDecomposedExpansionLoc(I->RemoveRange.getBegin()); in buildFixItInsertionLine()
1243 if (I->RemoveRange.isInvalid() || in emitParseableFixits()
1244 I->RemoveRange.getBegin().isMacroID() || in emitParseableFixits()
1245 I->RemoveRange.getEnd().isMacroID()) in emitParseableFixits()
1251 SourceLocation BLoc = I->RemoveRange.getBegin(); in emitParseableFixits()
1252 SourceLocation ELoc = I->RemoveRange.getEnd(); in emitParseableFixits()
1258 if (I->RemoveRange.isTokenRange()) in emitParseableFixits()
DASTUnit.cpp1287 OutFix.RemoveRange = makeStandaloneRange(InFix.RemoveRange, SM, LangOpts); in makeStandaloneFixIt()
2567 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2568 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
2569 FH.RemoveRange = CharSourceRange::getCharRange(BL, EL); in TranslateStoredDiagnostics()
DSerializedDiagnosticPrinter.cpp732 AddCharSourceRangeToRecord(Fix.RemoveRange, Record, SM); in EmitCodeContext()
/external/v8/src/heap/
Dremembered-set.h55 static void RemoveRange(SlotSet* slot_set, MemoryChunk* chunk, Address start, in RemoveRange() function
61 slot_set->RemoveRange(static_cast<int>(start_offset), in RemoveRange()
131 static void RemoveRange(MemoryChunk* chunk, Address start, Address end, in RemoveRange() function
134 RememberedSetOperations::RemoveRange(slot_set, chunk, start, end, mode); in RemoveRange()
372 static void RemoveRange(MemoryChunk* chunk, Address start, Address end, in RemoveRange() function
375 RememberedSetOperations::RemoveRange(slot_set, chunk, start, end, mode); in RemoveRange()
Dlarge-spaces.cc69 RememberedSet<OLD_TO_NEW>::RemoveRange(this, free_start, area_end(), in ClearOutOfLiveRangeSlots()
71 RememberedSet<OLD_TO_OLD>::RemoveRange(this, free_start, area_end(), in ClearOutOfLiveRangeSlots()
Dsweeper.cc300 RememberedSetSweeping::RemoveRange(page, free_start, free_end, in CleanupRememberedSetEntriesForFreedMemory()
302 RememberedSet<OLD_TO_OLD>::RemoveRange(page, free_start, free_end, in CleanupRememberedSetEntriesForFreedMemory()
Dslot-set.h253 void RemoveRange(size_t start_offset, size_t end_offset, size_t buckets, in RemoveRange() function
Dmark-compact.cc2184 RememberedSet<OLD_TO_NEW>::RemoveRange( in FlushBytecodeFromSFI()
2187 RememberedSet<OLD_TO_OLD>::RemoveRange( in FlushBytecodeFromSFI()
2351 RememberedSet<OLD_TO_NEW>::RemoveRange(chunk, start, end, in RightTrimDescriptorArray()
2353 RememberedSet<OLD_TO_OLD>::RemoveRange(chunk, start, end, in RightTrimDescriptorArray()
3992 RememberedSetSweeping::RemoveRange(page, page->address(), in PostProcessEvacuationCandidates()
3995 RememberedSet<OLD_TO_NEW>::RemoveRange(page, page->address(), in PostProcessEvacuationCandidates()
Dheap.cc5713 RememberedSet<OLD_TO_NEW>::RemoveRange(page, start, end, in ClearRecordedSlotRange()
/external/v8/src/profiler/
Dallocation-tracker.cc108 RemoveRange(start, end); in AddRange()
128 RemoveRange(from, from + size); in MoveObject()
148 void AddressToTraceMap::RemoveRange(Address start, Address end) { in RemoveRange() function in v8::internal::AddressToTraceMap
Dallocation-tracker.h92 void RemoveRange(Address start, Address end);
/external/clang/tools/libclang/
DCXStoredDiagnostic.cpp111 LangOpts, Hint.RemoveRange); in getFixIt()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DListExtensions.cs182 list.RemoveRange(size, list.Count - size); in setSize()
/external/clang/include/clang/Frontend/
DASTUnit.h71 std::pair<unsigned, unsigned> RemoveRange; member
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp831 S.Diag(Fixit1.RemoveRange.getBegin(), diag::note_uninit_fixit_remove_cond) in DiagUninitUse()
DSemaDecl.cpp7799 SourceRange RemoveRange = TemplateParams->getSourceRange(); in ActOnFunctionDeclarator() local
7813 << Name << RemoveRange in ActOnFunctionDeclarator()
7814 << FixItHint::CreateRemoval(RemoveRange) in ActOnFunctionDeclarator()