[PATCH] D74116: [Sema][C++] Propagate conversion type in order to specialize the diagnostics

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 19 12:52:17 PST 2020


rjmccall added a comment.

Yeah, looks like returning true causes the variable to be marked as invalid (not unreasonable, since maybe its type is wrong), which causes downstream diagnostics to be suppressed.

Both test cases should probably be fixed to assign into a different variable so that we continue to test the diagnostic.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74116/new/

https://reviews.llvm.org/D74116





More information about the cfe-commits mailing list