[PATCH] D11948: Add some macros to abstract marking of parameters as "not null", and use them in <cstring>
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 31 13:50:27 PDT 2015
mclow.lists updated this revision to Diff 33624.
mclow.lists added a comment.
Fixed a typo in the patch for `strncmp`, and added a macro `_LIBCPP_HAS_NO_NONNULL` to allow people to disable these checks.
Marked them as disabled for non-clang and non-gcc compilers.
http://reviews.llvm.org/D11948
Files:
include/__config
include/cstring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11948.33624.patch
Type: text/x-patch
Size: 3070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150831/abf5a035/attachment-0001.bin>
More information about the cfe-commits
mailing list