Lines Matching refs:Hint
63 for (const auto &Hint : FixItHints) in mergeFixits() local
64 if (Hint.CodeToInsert.empty()) { in mergeFixits()
65 if (Hint.InsertFromRange.isValid()) in mergeFixits()
66 commit.insertFromRange(Hint.RemoveRange.getBegin(), in mergeFixits()
67 Hint.InsertFromRange, /*afterToken=*/false, in mergeFixits()
68 Hint.BeforePreviousInsertions); in mergeFixits()
70 commit.remove(Hint.RemoveRange); in mergeFixits()
72 if (Hint.RemoveRange.isTokenRange() || in mergeFixits()
73 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits()
74 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits()
76 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits()
77 /*afterToken=*/false, Hint.BeforePreviousInsertions); in mergeFixits()
111 for (const auto &Hint : FixItHints) in emitDiagnostic() local
112 if (Hint.RemoveRange.isValid()) in emitDiagnostic()
113 MutableRanges.push_back(Hint.RemoveRange); in emitDiagnostic()