aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/writable-strings-deprecated.cpp
AgeCommit message (Collapse)Author
2011-04-23GCC overloads -Wwrite-strings just to make it extra confusing. While itChandler Carruth
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130052 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-14-fwritable-strings should silence warnings about the deprecated stringDouglas Gregor
-literal to char* conversion. Make it so. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127586 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-06Put warning about makeing a string writable intoFariborz Jahanian
its own deprecated diagnostics group so it can be turned off selectively. // rdar://8827606 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122967 91177308-0d34-0410-b5e6-96231b3b80d8