[PATCH] Add more information when displaying a "read-only variable is not assignable" error

Richard Trieu rtrieu at google.com
Mon Jul 14 11:57:29 PDT 2014


> Also, would it be better for the diagnostic to point to the "const" in the function rather than the "f"?

Probably, but the location of the const on a function does not appear to be available.

http://reviews.llvm.org/D4479






More information about the cfe-commits mailing list