[PATCH] D19851: Warn on binding reference to null in copy initialization

Nick Lewycky via cfe-commits cfe-commits at lists.llvm.org
Sun May 8 23:02:29 PDT 2016


nicholas updated this revision to Diff 56526.
nicholas added a comment.

Unsure why, but the previous diff didn't have the 'volatile' check removed.


http://reviews.llvm.org/D19851

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaInit.cpp
  test/CXX/expr/expr.prim/expr.prim.lambda/p5.cpp
  test/Parser/cxx-casting.cpp
  test/SemaCXX/cstyle-cast.cpp
  test/SemaCXX/functional-cast.cpp
  test/SemaCXX/new-delete.cpp
  test/SemaCXX/static-cast.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19851.56526.patch
Type: text/x-patch
Size: 6802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160509/1881a162/attachment-0001.bin>


More information about the cfe-commits mailing list