/external/clang/include/clang/Frontend/ |
TextDiagnostic.h | 94 ArrayRef<FixItHint> Hints, 115 ArrayRef<FixItHint> Hints, 120 void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
|
DiagnosticRenderer.h | 92 ArrayRef<FixItHint> Hints, 119 ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints, 124 ArrayRef<FixItHint> Hints, 145 ArrayRef<FixItHint> FixItHints,
|
/external/clang/lib/Sema/ |
SemaFixItUtils.cpp | 109 Hints.push_back(FixItHint::CreateRemoval( 113 Hints.push_back(FixItHint::CreateInsertion(Begin, "*(")); 114 Hints.push_back(FixItHint::CreateInsertion(End, ")")); 116 Hints.push_back(FixItHint::CreateInsertion(Begin, "*")); 143 Hints.push_back(FixItHint::CreateRemoval( 147 Hints.push_back(FixItHint::CreateInsertion(Begin, "&(")); 148 Hints.push_back(FixItHint::CreateInsertion(End, ")")); 150 Hints.push_back(FixItHint::CreateInsertion(Begin, "&"));
|
SemaStmtAttr.cpp | 36 << FixItHint::CreateInsertion(L, ";");
|
AnalysisBasedWarnings.cpp | 438 << FixItHint::CreateInsertion(VD->getLocation(), "__block "); 458 << FixItHint::CreateInsertion(Loc, Init); 466 FixItHint &Fixit1, FixItHint &Fixit2) { 469 Fixit1 = FixItHint::CreateRemoval( 475 Fixit2 = FixItHint::CreateRemoval( 481 Fixit1 = FixItHint::CreateRemoval( 485 Fixit1 = FixItHint::CreateRemoval(If->getSourceRange()); 515 FixItHint Fixit1, Fixit2; 559 Fixit1 = FixItHint::CreateRemoval(SourceRange(BO->getLocStart() [all...] |
DeclSpec.cpp | 869 FixItHint Hints[NumLocs]; 877 Hints[I] = FixItHint::CreateRemoval(ExtraLocs[I]); [all...] |
SemaExprObjC.cpp | 378 << FixItHint::CreateInsertion(OrigElement->getLocStart(), "@"); 394 << FixItHint::CreateInsertion(OrigElement->getLocStart(), "@"); [all...] |
SemaChecking.cpp | [all...] |
SemaLambda.cpp | 624 << FixItHint::CreateRemoval( 634 << FixItHint::CreateRemoval( 685 << FixItHint::CreateRemoval( 690 << FixItHint::CreateRemoval( 720 << FixItHint::CreateRemoval( [all...] |
SemaOpenMP.cpp | 69 << FixItHint::CreateReplacement(Id.getLoc(), CorrectedStr); 77 << FixItHint::CreateReplacement(Id.getLoc(), CorrectedStr);
|
SemaExprMember.cpp | 645 << FixItHint::CreateReplacement(Corrected.getCorrectionRange(), [all...] |
/external/clang/lib/Frontend/ |
DiagnosticRenderer.cpp | 77 SmallVectorImpl<FixItHint> &MergedFixits; 80 FixitReceiver(SmallVectorImpl<FixItHint> &MergedFixits) 83 MergedFixits.push_back(FixItHint::CreateInsertion(loc, text)); 86 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); 92 static void mergeFixits(ArrayRef<FixItHint> FixItHints, 94 SmallVectorImpl<FixItHint> &MergedFixits) { 96 for (ArrayRef<FixItHint>::const_iterator 98 const FixItHint &Hint = *I; 127 ArrayRef<FixItHint> FixItHints, 142 SmallVector<FixItHint, 8> MergedFixits [all...] |
SerializedDiagnosticPrinter.cpp | 81 ArrayRef<FixItHint> Hints, 143 ArrayRef<FixItHint> Hints, 634 ArrayRef<FixItHint> Hints, 647 for (ArrayRef<FixItHint>::iterator I = Hints.begin(), E = Hints.end(); 649 const FixItHint &Fix = *I; 664 ArrayRef<FixItHint> Hints,
|
TextDiagnostic.cpp | [all...] |
/external/clang/include/clang/Sema/ |
SemaFixItUtils.h | 42 std::vector<FixItHint> Hints;
|
/external/clang/include/clang/Basic/ |
Diagnostic.h | 49 class FixItHint { 67 FixItHint() : BeforePreviousInsertions(false) { } 75 static FixItHint CreateInsertion(SourceLocation InsertionLoc, 78 FixItHint Hint; 88 static FixItHint CreateInsertionFromRange(SourceLocation InsertionLoc, 91 FixItHint Hint; 101 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { 102 FixItHint Hint; 106 static FixItHint CreateRemoval(SourceRange RemoveRange) { 112 static FixItHint CreateReplacement(CharSourceRange RemoveRange [all...] |
PartialDiagnostic.h | 78 SmallVector<FixItHint, 6> FixItHints; 175 void AddFixItHint(const FixItHint &Hint) const { 383 const FixItHint &Hint) {
|
/external/clang/tools/libclang/ |
CXStoredDiagnostic.cpp | 103 const FixItHint &Hint = Diag.fixit_begin()[FixIt];
|
/external/clang/lib/Parse/ |
ParseDeclCXX.cpp | 103 << FixItHint::CreateRemoval(InlineLoc); 153 << FixItHint::CreateReplacement(SourceRange(ExtraNamespaceLoc.front(), 156 << FixItHint::CreateInsertion(rBraceToken.getLocation(), RBraces); 358 << R << FixItHint::CreateRemoval(R); 555 << FixItHint::CreateRemoval(SourceRange(TypenameLoc, 559 << FixItHint::CreateRemoval(SS.getRange()); 587 << R << FixItHint::CreateRemoval(R); 599 << FixItHint::CreateRemoval(SourceRange(TypenameLoc)); 858 << FixItHint::CreateRemoval(Tok.getLocation()); 874 << FixItHint::CreateRemoval(SS.getRange()) [all...] |
ParseTemplate.cpp | 236 << FixItHint::CreateRemoval(DS.getStorageClassSpecLoc()); 253 << FixItHint::CreateInsertion(LAngleLoc, "<>"); 560 << (Replace ? FixItHint::CreateReplacement(Tok.getLocation(), "class") 561 : FixItHint::CreateInsertion(Tok.getLocation(), "class ")); 734 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange, 739 FixItHint Hint2; 748 Hint2 = FixItHint::CreateInsertion(Next.getLocation(), " "); [all...] |
Parser.cpp | 143 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") 144 << FixItHint::CreateInsertion(EndLoc, ")"); 173 << FixItHint::CreateReplacement(SourceRange(Loc), 188 << FixItHint::CreateInsertion(EndLoc, Spelling); 207 << FixItHint::CreateRemoval(Tok.getLocation()); 235 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); 238 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); 245 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); 249 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); [all...] |
ParseInit.cpp | 168 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), 377 << FixItHint::CreateInsertion(Tok.getLocation(), "= ");
|
/external/chromium_org/tools/clang/plugins/ |
FindBadConstructs.cpp | 276 << FixItHint::CreateInsertion(spelling_loc, "virtual "); 338 << FixItHint::CreateInsertion(token_end, " OVERRIDE");
|
/external/clang/lib/AST/ |
CommentSema.cpp | 258 << FixItHint::CreateReplacement( 367 << FixItHint::CreateReplacement(ArgRange, CorrectedName); 697 << FixItHint::CreateInsertion(FD->getLocEnd().getLocWithOffset(1), 786 << FixItHint::CreateReplacement(ArgRange, CorrectedII->getName()); [all...] |
/external/clang/lib/Rewrite/Frontend/ |
FixItRewriter.cpp | 146 const FixItHint &Hint = Info.getFixItHint(Idx);
|