Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/
DFixItRewriter.cpp98 if (Hint.RemoveRange.isValid() && in HandleDiagnostic()
99 Rewrite.getRangeSize(Hint.RemoveRange) == -1) { in HandleDiagnostic()
124 if (Rewrite.RemoveText(Hint.RemoveRange)) in HandleDiagnostic()
130 if (Rewrite.ReplaceText(Hint.RemoveRange.getBegin(), in HandleDiagnostic()
131 Rewrite.getRangeSize(Hint.RemoveRange), in HandleDiagnostic()
/external/clang/include/clang/Basic/
DDiagnostic.h51 CharSourceRange RemoveRange;
59 FixItHint() : RemoveRange() { } in FixItHint()
62 return !RemoveRange.isValid(); in isNull()
70 Hint.RemoveRange = in CreateInsertion()
78 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { in CreateRemoval() argument
80 Hint.RemoveRange = RemoveRange; in CreateRemoval()
83 static FixItHint CreateRemoval(SourceRange RemoveRange) { in CreateRemoval() argument
84 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange)); in CreateRemoval()
89 static FixItHint CreateReplacement(CharSourceRange RemoveRange, in CreateReplacement() argument
92 Hint.RemoveRange = RemoveRange; in CreateReplacement()
[all …]
/external/clang/lib/Frontend/
DTextDiagnosticPrinter.cpp522 = SM.getDecomposedInstantiationLoc(Hint->RemoveRange.getBegin()); in EmitCaretDiagnostic()
615 if (Hint->RemoveRange.isInvalid() || in EmitCaretDiagnostic()
616 Hint->RemoveRange.getBegin().isMacroID() || in EmitCaretDiagnostic()
617 Hint->RemoveRange.getEnd().isMacroID()) { in EmitCaretDiagnostic()
626 SourceLocation B = Hint->RemoveRange.getBegin(); in EmitCaretDiagnostic()
627 SourceLocation E = Hint->RemoveRange.getEnd(); in EmitCaretDiagnostic()
633 if (Hint->RemoveRange.isTokenRange()) in EmitCaretDiagnostic()
1108 if (Hint.RemoveRange.isValid()) { in HandleDiagnostic()
1110 Ranges[NumRanges++] = Hint.RemoveRange; in HandleDiagnostic()
DASTUnit.cpp2399 SourceLocation BL = I->RemoveRange.getBegin(); in TranslateStoredDiagnostics()
2401 SourceLocation EL = I->RemoveRange.getEnd(); in TranslateStoredDiagnostics()
2403 FH.RemoveRange = CharSourceRange(SourceRange(BL, EL), in TranslateStoredDiagnostics()
2404 I->RemoveRange.isTokenRange()); in TranslateStoredDiagnostics()
/external/clang/lib/Basic/
DDiagnosticIDs.cpp711 if (FixIt.RemoveRange.isInvalid() || in ProcessDiag()
712 FixIt.RemoveRange.getBegin().isMacroID() || in ProcessDiag()
713 FixIt.RemoveRange.getEnd().isMacroID()) { in ProcessDiag()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp493 if (Hint->RemoveRange.isValid()) { in HandlePiece()
494 HighlightRange(R, LPosInfo.first, Hint->RemoveRange, in HandlePiece()
/external/clang/tools/libclang/
DCIndexDiagnostic.cpp303 Hint.RemoveRange); in clang_getDiagnosticFixIt()
/external/webkit/Source/JavaScriptCore/wtf/
DFastMalloc.cpp2318 void RemoveRange(void **start, void **end, int *N);
2725 void TCMalloc_Central_FreeList::RemoveRange(void **start, void **end, int *N) { in RemoveRange() function in WTF::TCMalloc_Central_FreeList
2916 central_cache[cl].RemoveRange(&start, &end, &fetch_count); in FetchFromCentralCache()
/external/clang/lib/Sema/
DSemaDecl.cpp4405 SourceRange RemoveRange = TemplateParams->getSourceRange(); in ActOnFunctionDeclarator() local
4419 << Name << RemoveRange in ActOnFunctionDeclarator()
4420 << FixItHint::CreateRemoval(RemoveRange) in ActOnFunctionDeclarator()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2008-08-1024410 (WTF::TCMalloc_Central_FreeList::RemoveRange):