[PATCH] C++11: Reject string literal to non-const char * conversion
Ismail Pazarbasi
ismail.pazarbasi at gmail.com
Fri Jan 17 09:02:58 PST 2014
Added missing initializations for StandardConversionSequence::DeprecatedStringLiteralToCharPtr.
This enables us to check fewer members of ImplicitConversionSequence to decide whether this
use of conversion is deprecated in C++11.
Hi rsmith,
http://llvm-reviews.chandlerc.com/D1965
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D1965?vs=5658&id=6508#toc
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/cxx0x-type-convert-construct.cpp
test/SemaCXX/deprecated.cpp
test/SemaCXX/overload-0x.cpp
unittests/ASTMatchers/ASTMatchersTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1965.6.patch
Type: text/x-patch
Size: 14156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140117/c637952c/attachment.bin>
More information about the cfe-commits
mailing list