[PATCH] don't diagnose -Wchar-subscript for safe char literal

Daniel Marjamäki Daniel.Marjamaki at evidente.se
Thu Apr 17 07:48:29 PDT 2014


> Looks like your new test will fail on platforms where plain char is unsigned. Please make sure the test has an explicit triple to avoid that, then LGTM.

Interesting. I thought it was signed always when compiling with Clang.

I am not sure what you mean by explicit triple. Sorry. Could you show me?

Best regards,
Daniel Marjamäki

More information about the cfe-commits mailing list