[PATCH] C++11: Reject string literal to non-const char * conversion

Ismail Pazarbasi ismail.pazarbasi at gmail.com
Tue Nov 19 08:23:06 PST 2013


  Changes since last revision:
  * Changed diagnostics message.
  * Removed superfluous `DeprecatedStringLiteralToCharPtr = false`.
  * Added comments in CompareImplicitConversionSequences function.
  * Added test for SFINAE failure.
  * Changed tests to check syntax instead of IR

Hi rsmith,

http://llvm-reviews.chandlerc.com/D1965

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1965?vs=5530&id=5658#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.5.patch
Type: text/x-patch
Size: 13548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131119/bc0d71b1/attachment.bin>


More information about the cfe-commits mailing list