[PATCH] [libcxx] Fix PR 23589: std::function doesn't recognize null pointer to varargs function

Eric Fiselier eric at efcs.ca
Wed May 20 00:40:07 PDT 2015


Hi mclow.lists,

__not_null is missing overloads for cv and ref qualified member functions as well as functions that have varargs. This patch adds these overloads.

see https://llvm.org/bugs/show_bug.cgi?id=23589.

http://reviews.llvm.org/D9873

Files:
  include/functional
  test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F.pass.cpp
  test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_nullptr.pass.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9873.26126.patch
Type: text/x-patch
Size: 7341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150520/c7380cc7/attachment.bin>


More information about the cfe-commits mailing list