]> granicus.if.org Git - clang/commit
Move the C++11 ExtWarn for converting a string literal to 'char*' out of
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 22 Apr 2014 01:11:06 +0000 (01:11 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 22 Apr 2014 01:11:06 +0000 (01:11 +0000)
commit75bc74f305a558354d3fb12f92faf68ec50609be
treea2e8a2e571e3d1592413202035881ac19b1c4d7e
parente836dd328e99eab565c145ff328c435b9fac2801
Move the C++11 ExtWarn for converting a string literal to 'char*' out of
-Wc++11-compat-deprecated-writable-strings. It's neither a C++11 compatibility
warning nor a deprecated feature, it's just ill-formed.

In passing, add that warning to -Wdeprecated, where it belongs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206833 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
test/SemaCXX/writable-strings-deprecated.cpp