[PATCH][RFC] Add quotes for constexpr keyword.
Martin Liška
mliska@suse.cz
Wed Nov 15 12:49:00 GMT 2017
On 11/06/2017 07:29 PM, Martin Sebor wrote:
> Sorry for being late with my comment. I just spotted this minor
> formatting issue. Even though GCC isn't (yet) consistent about
> it the keyword "constexpr" should be quoted in the error message
> below (and, eventually, in all diagnostic messages). Since the
> patch has been committed by now this is just a reminder for us
> to try to keep this in mind in the future.
Hi.
I've prepared patch for that. If it's desired, I can fix test-suite follow-up.
Do we want to change it also for error messages like:
"call to non-constexpr function"
"constexpr call flows off the end of the function"
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-quotes-for-constexpr-keyword.patch
Type: text/x-patch
Size: 12557 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20171115/672bd977/attachment.bin>
More information about the Gcc-patches
mailing list