Lines Matching refs:Hint
151 const FixItHint &Hint = Info.getFixItHint(Idx); in HandleDiagnostic() local
153 if (Hint.CodeToInsert.empty()) { in HandleDiagnostic()
154 if (Hint.InsertFromRange.isValid()) in HandleDiagnostic()
155 commit.insertFromRange(Hint.RemoveRange.getBegin(), in HandleDiagnostic()
156 Hint.InsertFromRange, /*afterToken=*/false, in HandleDiagnostic()
157 Hint.BeforePreviousInsertions); in HandleDiagnostic()
159 commit.remove(Hint.RemoveRange); in HandleDiagnostic()
161 if (Hint.RemoveRange.isTokenRange() || in HandleDiagnostic()
162 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in HandleDiagnostic()
163 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic()
165 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in HandleDiagnostic()
166 /*afterToken=*/false, Hint.BeforePreviousInsertions); in HandleDiagnostic()