| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is the 5th Lit test patch.
Expanded expected diagnostics to vary by C++ dialect.
Expanded RUN line to: default, C++98/03 and C++11.
llvm-svn: 255196
|
|
|
|
|
|
|
|
|
| |
-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.
llvm-svn: 206833
|
|
|
|
|
|
| |
ill-formed in C++11.
llvm-svn: 194736
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes language semantics in C and ObjC (which Clang has supported for
a while), in C++ it's the name used for Clang's
-Wdeprecated-writable-strings.
Clang's name is at least less overloaded if still confusing (the string
isn't writable, we just allow converting to a non-const pointer without
warning), so I've left it in place and made the GCC name an alias for
compatibility.
With this I've implemented all the aspects of GCC's -Wwrite-strings I've
encountered which didn't work with Clang.
llvm-svn: 130052
|
|
|
|
|
|
| |
-literal to char* conversion. Make it so.
llvm-svn: 127586
|
|
its own deprecated diagnostics group so it can be
turned off selectively. // rdar://8827606
llvm-svn: 122967
|