[FixCode] Pick up fixit for let->var change

This is an important fixit, but was lost because it is on the note
instead of the error.

rdar://problem/26593117
This commit is contained in:
Ben Langmuir
2016-06-02 10:19:42 -07:00
parent 76a39000b4
commit d3b40aa483
3 changed files with 21 additions and 0 deletions

View File

@@ -575,6 +575,7 @@ private:
Info.ID == diag::forced_downcast_noop.ID ||
Info.ID == diag::variable_never_mutated.ID ||
Info.ID == diag::function_type_no_parens.ID ||
Info.ID == diag::convert_let_to_var.ID ||
Info.ID == diag::parameter_extraneous_double_up.ID)
return true;
return false;