/external/clang/unittests/Tooling/ |
D | FixItTest.cpp | 86 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/ |
D | FixItRewriter.cpp | 155 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/ |
D | Diagnostic.h | 56 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/ |
D | DiagnosticRenderer.cpp | 59 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()
|
D | TextDiagnostic.cpp | 1010 = 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()
|
D | ASTUnit.cpp | 1287 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()
|
D | SerializedDiagnosticPrinter.cpp | 732 AddCharSourceRangeToRecord(Fix.RemoveRange, Record, SM); in EmitCodeContext()
|
/external/v8/src/heap/ |
D | remembered-set.h | 55 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()
|
D | large-spaces.cc | 69 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()
|
D | sweeper.cc | 300 RememberedSetSweeping::RemoveRange(page, free_start, free_end, in CleanupRememberedSetEntriesForFreedMemory() 302 RememberedSet<OLD_TO_OLD>::RemoveRange(page, free_start, free_end, in CleanupRememberedSetEntriesForFreedMemory()
|
D | slot-set.h | 253 void RemoveRange(size_t start_offset, size_t end_offset, size_t buckets, in RemoveRange() function
|
D | mark-compact.cc | 2184 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()
|
D | heap.cc | 5713 RememberedSet<OLD_TO_NEW>::RemoveRange(page, start, end, in ClearRecordedSlotRange()
|
/external/v8/src/profiler/ |
D | allocation-tracker.cc | 108 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
|
D | allocation-tracker.h | 92 void RemoveRange(Address start, Address end);
|
/external/clang/tools/libclang/ |
D | CXStoredDiagnostic.cpp | 111 LangOpts, Hint.RemoveRange); in getFixIt()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | ListExtensions.cs | 182 list.RemoveRange(size, list.Count - size); in setSize()
|
/external/clang/include/clang/Frontend/ |
D | ASTUnit.h | 71 std::pair<unsigned, unsigned> RemoveRange; member
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 831 S.Diag(Fixit1.RemoveRange.getBegin(), diag::note_uninit_fixit_remove_cond) in DiagUninitUse()
|
D | SemaDecl.cpp | 7799 SourceRange RemoveRange = TemplateParams->getSourceRange(); in ActOnFunctionDeclarator() local 7813 << Name << RemoveRange in ActOnFunctionDeclarator() 7814 << FixItHint::CreateRemoval(RemoveRange) in ActOnFunctionDeclarator()
|