[PATCH] C++11: Reject string literal to non-const char * conversion
Ismail Pazarbasi
ismail.pazarbasi at gmail.com
Fri Jan 17 09:13:21 PST 2014
Sorry, this is the first time I have tried arcanist (I thought `arc diff` would give me the diff :) ), and it seems like patch is posted before removing macros from the test case, and responding to your last feedback.
Nevertheless, yes, the condition can be simplified, as long as `DeprecatedStringLiteralToCharPtr` is initialized. It turned out it wasn't always initialized. CHECK_BEST seems like irrelevant, and will be removed. If the rest seems ready, I will remove them before commit, instead of posting another patch.
http://llvm-reviews.chandlerc.com/D1965
More information about the cfe-commits
mailing list