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/Sema/implicit-builtin-decl.c | |
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/Sema/implicit-builtin-decl.c')
-rw-r--r-- | clang/test/Sema/implicit-builtin-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/implicit-builtin-decl.c b/clang/test/Sema/implicit-builtin-decl.c index d80414d5fea..8cdd36518e8 100644 --- a/clang/test/Sema/implicit-builtin-decl.c +++ b/clang/test/Sema/implicit-builtin-decl.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s void f() { - int *ptr = malloc(sizeof(int) * 10); // expected-warning{{implicitly declaring C library function 'malloc' with type}} \ + int *ptr = malloc(sizeof(int) * 10); // expected-warning{{implicitly declaring library function 'malloc' with type}} \ // expected-note{{please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'}} \ // expected-note{{'malloc' is a builtin with type 'void *}} } |