/external/clang/include/clang/Frontend/ |
TextDiagnostic.h | 93 ArrayRef<FixItHint> Hints, 112 ArrayRef<FixItHint> Hints, 117 void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
|
DiagnosticRenderer.h | 90 ArrayRef<FixItHint> Hints, 118 ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints, 127 ArrayRef<FixItHint> Hints, 146 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, "&"));
|
SemaExprObjC.cpp | 439 << FixItHint::CreateInsertion(OrigElement->getLocStart(), "@"); 455 << FixItHint::CreateInsertion(OrigElement->getLocStart(), "@"); [all...] |
AnalysisBasedWarnings.cpp | 95 << FixItHint::CreateInsertion(Open, "/* DISABLES CODE */ (") 96 << FixItHint::CreateInsertion(Close, ")"); 624 << FixItHint::CreateInsertion(VD->getLocation(), "__block "); 644 << FixItHint::CreateInsertion(Loc, Init); 652 FixItHint &Fixit1, FixItHint &Fixit2) { 655 Fixit1 = FixItHint::CreateRemoval( 660 Fixit2 = FixItHint::CreateRemoval( 666 Fixit1 = FixItHint::CreateRemoval( 670 Fixit1 = FixItHint::CreateRemoval(If->getSourceRange()) [all...] |
DeclSpec.cpp | [all...] |
SemaChecking.cpp | [all...] |
SemaStmtAttr.cpp | 34 << FixItHint::CreateInsertion(L, ";");
|
SemaDeclObjC.cpp | 215 << FixItHint::CreateInsertion(method->getSelectorLoc(0), "(void)"); 219 << FixItHint::CreateReplacement(ResultTypeRange, "void"); 614 << FixItHint::CreateInsertion(starLoc, " *"); 654 << FixItHint::CreateRemoval(rangeToRemove); 665 << FixItHint::CreateRemoval(rangeToRemove); 809 diag << FixItHint::CreateRemoval(newTypeParam->getVarianceLoc()); 820 diag << FixItHint::CreateInsertion(newTypeParam->getLocStart(), 823 diag << FixItHint::CreateReplacement(newTypeParam->getVarianceLoc(), [all...] |
/external/clang/include/clang/Sema/ |
SemaFixItUtils.h | 42 std::vector<FixItHint> Hints;
|
/external/clang/include/clang/Basic/ |
Diagnostic.h | 52 class FixItHint { 70 FixItHint() : BeforePreviousInsertions(false) { } 78 static FixItHint CreateInsertion(SourceLocation InsertionLoc, 81 FixItHint Hint; 91 static FixItHint CreateInsertionFromRange(SourceLocation InsertionLoc, 94 FixItHint Hint; 104 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { 105 FixItHint Hint; 109 static FixItHint CreateRemoval(SourceRange RemoveRange) { 115 static FixItHint CreateReplacement(CharSourceRange RemoveRange [all...] |
PartialDiagnostic.h | 73 SmallVector<FixItHint, 6> FixItHints; 167 void AddFixItHint(const FixItHint &Hint) const { 307 for (const FixItHint &Fix : DiagStorage->FixItHints) 392 const FixItHint &Hint) {
|
/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 | 87 ArrayRef<FixItHint> Hints, 207 ArrayRef<FixItHint> Hints, 711 ArrayRef<FixItHint> Hints, 724 for (ArrayRef<FixItHint>::iterator I = Hints.begin(), E = Hints.end(); 726 const FixItHint &Fix = *I; 741 ArrayRef<FixItHint> Hints, [all...] |
TextDiagnostic.cpp | [all...] |
/external/clang/lib/Parse/ |
ParseTemplate.cpp | 261 << FixItHint::CreateRemoval(DS.getStorageClassSpecLoc()); 278 << FixItHint::CreateInsertion(LAngleLoc, "<>"); 589 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") 590 : FixItHint()); 594 << (Replace ? FixItHint::CreateReplacement(Tok.getLocation(), "class") 595 : FixItHint::CreateInsertion(Tok.getLocation(), "class ")); 716 FixItHint Insertion; 718 Insertion = FixItHint::CreateInsertion(CorrectLoc, "..."); 720 << FixItHint::CreateRemoval(EllipsisLoc) << Insertion 807 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange [all...] |
ParseDeclCXX.cpp | 118 << FixItHint::CreateRemoval(InlineLoc); 169 << FixItHint::CreateReplacement(SourceRange(ExtraNamespaceLoc.front(), 172 << FixItHint::CreateInsertion(rBraceToken.getLocation(), RBraces); 403 << 0 /* directive */ << R << FixItHint::CreateRemoval(R); 575 << FixItHint::CreateInsertionFromRange( 578 << FixItHint::CreateRemoval(MisplacedAttrs.Range); 618 << FixItHint::CreateRemoval(SourceRange(TypenameLoc, 622 << FixItHint::CreateRemoval(SS.getRange()); 654 << 1 /* declaration */ << R << FixItHint::CreateRemoval(R); 666 << FixItHint::CreateRemoval(SourceRange(TypenameLoc)) [all...] |
Parser.cpp | 119 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") 120 << FixItHint::CreateInsertion(EndLoc, ")"); 143 DB << FixItHint::CreateReplacement( 165 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling) 190 << FixItHint::CreateRemoval(Tok.getLocation()); 218 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); 221 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); 229 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); 233 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); [all...] |
ParseInit.cpp | 150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), 373 << FixItHint::CreateInsertion(Tok.getLocation(), "= ");
|
ParseStmt.cpp | 406 << FixItHint::CreateInsertion(OldToken.getLocation(), "case "); 708 << FixItHint::CreateReplacement(ColonLoc, ":"); 713 << FixItHint::CreateInsertion(ExpectedLoc, ":"); 753 << FixItHint::CreateInsertion(AfterColonLoc, " ;"); 785 << FixItHint::CreateReplacement(ColonLoc, ":"); 790 << FixItHint::CreateInsertion(ExpectedLoc, ":"); 803 << FixItHint::CreateInsertion(AfterColonLoc, " ;"); [all...] |
ParseDecl.cpp | 444 << FixItHint::CreateReplacement(KindLoc, "put"); [all...] |
ParseExprCXX.cpp | 63 << FixItHint::CreateReplacement(Range, "< ::"); 141 << FixItHint::CreateRemoval(LParen.getLocation()) 142 << FixItHint::CreateRemoval(RParen.getLocation()); 443 << FixItHint::CreateReplacement(Next.getLocation(), "::"); 474 << FixItHint::CreateReplacement(Next.getLocation(), ":"); 558 << FixItHint::CreateInsertion(Tok.getLocation(), "template "); [all...] |
/external/clang/tools/libclang/ |
CXStoredDiagnostic.cpp | 105 const FixItHint &Hint = Diag.fixit_begin()[FixIt];
|
/external/clang/lib/AST/ |
CommentSema.cpp | 247 << ArgRange << FixItHint::CreateReplacement(ArgRange, FixedName); 354 << FixItHint::CreateReplacement(ArgRange, CorrectedName); 708 << FixItHint::CreateInsertion(FD->getLocEnd().getLocWithOffset(1), 797 << FixItHint::CreateReplacement(ArgRange, CorrectedII->getName()); [all...] |
/external/clang/lib/Frontend/Rewrite/ |
FixItRewriter.cpp | 151 const FixItHint &Hint = Info.getFixItHint(Idx);
|