[PATCH] D30806: [nonnull] Teach Clang to attach the nonnull LLVM attribute to declarations and calls instead of just definitions, and then teach it to *not* attach such attributes even if the source code contains them.
Chandler Carruth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 17 22:42:18 PDT 2017
chandlerc updated this revision to Diff 92245.
chandlerc added a comment.
Update with fixes suggested in review.
https://reviews.llvm.org/D30806
Files:
include/clang/AST/ASTContext.h
include/clang/Basic/Builtins.def
lib/AST/ASTContext.cpp
lib/CodeGen/CGCall.cpp
test/CodeGen/nonnull.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30806.92245.patch
Type: text/x-patch
Size: 19622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170318/985342b4/attachment-0001.bin>
More information about the cfe-commits
mailing list