/external/clang/include/clang/Basic/ |
D | SourceLocation.h | 216 class CharSourceRange { 220 CharSourceRange() : IsTokenRange(false) {} in CharSourceRange() function 221 CharSourceRange(SourceRange R, bool ITR) : Range(R),IsTokenRange(ITR){} in CharSourceRange() function 223 static CharSourceRange getTokenRange(SourceRange R) { in getTokenRange() 224 CharSourceRange Result; in getTokenRange() 230 static CharSourceRange getCharRange(SourceRange R) { in getCharRange() 231 CharSourceRange Result; in getCharRange() 237 static CharSourceRange getTokenRange(SourceLocation B, SourceLocation E) { in getTokenRange() 240 static CharSourceRange getCharRange(SourceLocation B, SourceLocation E) { in getCharRange()
|
D | Diagnostic.h | 51 CharSourceRange RemoveRange; 71 CharSourceRange(SourceRange(InsertionLoc, InsertionLoc), false); in CreateInsertion() 78 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { in CreateRemoval() 84 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange)); in CreateRemoval() 89 static FixItHint CreateReplacement(CharSourceRange RemoveRange, in CreateReplacement() 99 return CreateReplacement(CharSourceRange::getTokenRange(RemoveRange), Code); in CreateReplacement() 616 CharSourceRange DiagRanges[10]; 765 void AddSourceRange(const CharSourceRange &R) const { in AddSourceRange() 833 DB.AddSourceRange(CharSourceRange::getTokenRange(R)); 838 const CharSourceRange &R) { [all …]
|
D | PartialDiagnostic.h | 66 CharSourceRange DiagRanges[10]; 149 void AddSourceRange(const CharSourceRange &R) const { in AddSourceRange() 313 PD.AddSourceRange(CharSourceRange::getTokenRange(R)); 318 const CharSourceRange &R) {
|
/external/clang/lib/ARCMigrate/ |
D | TransformActions.cpp | 69 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) { in CharRange() 101 return CharRange(CharSourceRange::getTokenRange(LHS), SrcMgr, PP) in compare() 102 .compareWith(CharRange(CharSourceRange::getTokenRange(RHS), in compare() 166 void addRemoval(CharSourceRange range); 445 addRemoval(CharSourceRange::getTokenRange(range)); in commitRemove() 470 addRemoval(CharSourceRange::getCharRange(range.getBegin(), in commitReplace() 473 addRemoval(CharSourceRange::getTokenRange( in commitReplace() 486 addRemoval(CharSourceRange::getCharRange(loc, afterText)); in commitReplaceText() 494 std::make_pair(CharRange(CharSourceRange::getTokenRange(range), in commitIncreaseIndentation() 518 void TransformActionsImpl::addRemoval(CharSourceRange range) { in addRemoval() [all …]
|
D | Internals.h | 107 virtual void remove(CharSourceRange range) = 0; 108 virtual void increaseIndentation(CharSourceRange range,
|
D | PlistReporter.cpp | 70 CharSourceRange R, const FIDMap &FM, in EmitRange()
|
D | ARCMT.cpp | 448 virtual void remove(CharSourceRange range) { in remove() 459 virtual void increaseIndentation(CharSourceRange range, in increaseIndentation()
|
/external/clang/include/clang/Rewrite/ |
D | Rewriter.h | 172 int getRangeSize(const CharSourceRange &Range, 219 bool RemoveText(CharSourceRange range, 256 bool IncreaseIndentation(CharSourceRange range, SourceLocation parentIndent); 258 return IncreaseIndentation(CharSourceRange::getTokenRange(range), in IncreaseIndentation()
|
/external/clang/tools/libclang/ |
D | CXSourceLocation.h | 56 const CharSourceRange &R); 63 CharSourceRange::getTokenRange(R)); in translateSourceRange()
|
D | CIndex.cpp | 115 const CharSourceRange &R) { in translateSourceRange()
|
/external/clang/include/clang/Frontend/ |
D | TextDiagnosticPrinter.h | 59 void HighlightRange(const CharSourceRange &R, 69 void EmitCaretDiagnostic(SourceLocation Loc, CharSourceRange *Ranges,
|
/external/clang/tools/arcmt-test/ |
D | arcmt-test.cpp | 73 static void printSourceRange(CharSourceRange range, ASTContext &Ctx, 96 virtual void remove(CharSourceRange range) { in remove() 315 static void printSourceRange(CharSourceRange range, ASTContext &Ctx, in printSourceRange()
|
/external/clang/lib/Rewrite/ |
D | Rewriter.cpp | 119 int Rewriter::getRangeSize(const CharSourceRange &Range, in getRangeSize() 153 return getRangeSize(CharSourceRange::getTokenRange(Range), opts); in getRangeSize() 350 bool Rewriter::IncreaseIndentation(CharSourceRange range, in IncreaseIndentation()
|
/external/clang/include/clang/ARCMigrate/ |
D | ARCMT.h | 100 virtual void remove(CharSourceRange range) { } in remove()
|
/external/clang/lib/Frontend/ |
D | TextDiagnosticPrinter.cpp | 79 void TextDiagnosticPrinter::HighlightRange(const CharSourceRange &R, in HighlightRange() 346 CharSourceRange *Ranges, in EmitCaretDiagnostic() 382 CharSourceRange &R = Ranges[i]; in EmitCaretDiagnostic() 1099 CharSourceRange Ranges[20]; in HandleDiagnostic()
|
D | ASTUnit.cpp | 2379 llvm::SmallVector<CharSourceRange, 4> Ranges; in TranslateStoredDiagnostics() 2388 Ranges.push_back(CharSourceRange(SourceRange(BL, EL), I->isTokenRange())); in TranslateStoredDiagnostics() 2403 FH.RemoveRange = CharSourceRange(SourceRange(BL, EL), in TranslateStoredDiagnostics()
|
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 731 llvm::ArrayRef<CharSourceRange> Ranges, in StoredDiagnostic()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 1218 CharSourceRange getSpecifierRange(const char *startSpecifier, 1235 CharSourceRange CheckFormatHandler:: 1243 return CharSourceRange::getCharRange(Start, End); in getSpecifierRange() 1755 const CharSourceRange &R = getSpecifierRange(Amt.getStart(), in HandleScanfSpecifier()
|