diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-04-25 15:47:13 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-04-25 15:47:13 +0000 |
| commit | 73669defedc32af0144e740932c0467d6aeb2055 (patch) | |
| tree | aee593ab9d771ba18b4f7ed57dbfeaca3a1c2498 /clang/test/CodeGen | |
| parent | 0276933b4bebe472ffbe89e0047da7721d4fbe6c (diff) | |
| download | bcm5719-llvm-73669defedc32af0144e740932c0467d6aeb2055.tar.gz bcm5719-llvm-73669defedc32af0144e740932c0467d6aeb2055.zip | |
remove the 'unused static' diagnostic from codegen. This should be
reimplemented in Sema someday. This is tracked in PR2236. Until then
disabling it removes some bogus diagnostics (see 2236).
llvm-svn: 50263
Diffstat (limited to 'clang/test/CodeGen')
| -rw-r--r-- | clang/test/CodeGen/unusedstatic.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/test/CodeGen/unusedstatic.c b/clang/test/CodeGen/unusedstatic.c deleted file mode 100644 index 902596e30e1..00000000000 --- a/clang/test/CodeGen/unusedstatic.c +++ /dev/null @@ -1,7 +0,0 @@ -// RUN: clang %s -emit-llvm -verify -// PR1998 -// PR2236 -static void a (void); -void b (void) { a (); } -static void a(void) {} -static void c(void) {} // expected-warning {{static 'c' defined but not used}} |

