summaryrefslogtreecommitdiff
path: root/test/Analysis/objc-method-coverage.m
diff options
context:
space:
mode:
authorJan Wen Voung <jvoung@google.com>2013-03-08 22:42:02 +0000
committerJan Wen Voung <jvoung@google.com>2013-03-08 22:42:02 +0000
commit325de0ca0cdcde7b4ff9eef4796c48685572c60f (patch)
treee871b420eb4d4949704137bb49670be1ee685776 /test/Analysis/objc-method-coverage.m
parent0918989f0eed08870e50418df97d1486d977d773 (diff)
downloadclang-325de0ca0cdcde7b4ff9eef4796c48685572c60f.tar.gz
Move clang tests that depend on llvm/ADT/Statistic.h to a subdir.
The subdirectory has a lit.local.cfg that marks the tests unsupported if llvm was built without Asserts. There will be a patch in LLVM that disables statistics gathering when built without Asserts so that full Release builds can be faster. Statistics can also be enabled by building with -DLLVM_ENABLE_STATS. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/objc-method-coverage.m')
-rw-r--r--test/Analysis/objc-method-coverage.m16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/Analysis/objc-method-coverage.m b/test/Analysis/objc-method-coverage.m
deleted file mode 100644
index cb66bff19b..0000000000
--- a/test/Analysis/objc-method-coverage.m
+++ /dev/null
@@ -1,16 +0,0 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s
-@interface I
-int f() {
- return 0;
-}
-@end
-
-@implementation I
-+ (void *)ff{
- return (void*)0;
-}
-@end
-
-// CHECK: ... Statistics Collected ...
-// CHECK: 2 AnalysisConsumer - The # of functions and blocks analyzed (as top level with inlining turned on).
-// CHECK: 100 AnalysisConsumer - The % of reachable basic blocks. \ No newline at end of file