commit | cb67d7b7c22be6dfc93a2eed3f27b43e7dda0e3f | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Mon Sep 27 19:05:51 2010 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Mon Sep 27 19:05:51 2010 +0000 |
tree | d0baf2804035148aa4e177542089cf905801265c | |
parent | 415a7a6fec10d45de07c56ba693523d173028324 [diff] [blame] |
Issue warning for trivial cases of nonnull attributes (on functions with no pointer arguments) but only when the attribute has not been coming from a macro instantiation in a header file. Fixes first part of radar 6857843. llvm-svn: 114860
diff --git a/clang/test/SemaObjC/nonnull.h b/clang/test/SemaObjC/nonnull.h new file mode 100644 index 0000000..f5a038f --- /dev/null +++ b/clang/test/SemaObjC/nonnull.h
@@ -0,0 +1,2 @@ +// rdar: //6857843 +#define NONNULL_ATTR __attribute__((nonnull))