diff options
| author | Jean-Daniel Dupas <devlists@shadowlab.org> | 2012-01-27 23:21:02 +0000 |
|---|---|---|
| committer | Jean-Daniel Dupas <devlists@shadowlab.org> | 2012-01-27 23:21:02 +0000 |
| commit | 400dd1c3d03733a57a3cc8f9870b5fcab388d62a (patch) | |
| tree | 5bc5d6e111213609be006709eee0b2edaf9b664b /clang/test/SemaObjC/builtin_objc_nslog.m | |
| parent | c26e5fb86b65b2c72b850a06a822b8af15890613 (diff) | |
| download | bcm5719-llvm-400dd1c3d03733a57a3cc8f9870b5fcab388d62a.tar.gz bcm5719-llvm-400dd1c3d03733a57a3cc8f9870b5fcab388d62a.zip | |
Remove the "C" in "implicitly declaring C library function" diagnostic
because all functions are not C functions (i.e. NSLog).
llvm-svn: 149150
Diffstat (limited to 'clang/test/SemaObjC/builtin_objc_nslog.m')
| -rw-r--r-- | clang/test/SemaObjC/builtin_objc_nslog.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/builtin_objc_nslog.m b/clang/test/SemaObjC/builtin_objc_nslog.m index 7c84c5fe234..c940b16cdc3 100644 --- a/clang/test/SemaObjC/builtin_objc_nslog.m +++ b/clang/test/SemaObjC/builtin_objc_nslog.m @@ -3,11 +3,11 @@ #include <stdarg.h> void f1(id arg) { - NSLog(@"%@", arg); // expected-warning {{implicitly declaring C library function 'NSLog' with type 'void (id, ...)'}} \ + NSLog(@"%@", arg); // expected-warning {{implicitly declaring library function 'NSLog' with type 'void (id, ...)'}} \ // expected-note {{please include the header <Foundation/NSObjCRuntime.h> or explicitly provide a declaration for 'NSLog'}} } void f2(id str, va_list args) { - NSLogv(@"%@", args); // expected-warning {{implicitly declaring C library function 'NSLogv' with type }} \ + NSLogv(@"%@", args); // expected-warning {{implicitly declaring library function 'NSLogv' with type }} \ // expected-note {{please include the header <Foundation/NSObjCRuntime.h> or explicitly provide a declaration for 'NSLogv'}} } |

