aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaLookup.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-23 06:54:44 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-23 06:54:44 +0000
commitf3babb93eba416ff30c4408d843b7408221e1d4e (patch)
treee47f63f0959746663ca7a975edcf78a5b17263cd /lib/Sema/SemaLookup.cpp
parent50465d1d2f5f6dd3d8e18e2cf7bad4691e5ca6a8 (diff)
GCC overloads -Wwrite-strings just to make it extra confusing. While it
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
Diffstat (limited to 'lib/Sema/SemaLookup.cpp')
0 files changed, 0 insertions, 0 deletions