summaryrefslogtreecommitdiffstats
path: root/clang/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
commit058927b8d4ddb539721d2a5e1c6dbab7cb2d47a4 (patch)
treec44069ed0f9b01d8b7c1fe0d48d351c4cc5d4ce0 /clang/test/Analysis/objc-method-coverage.m
parent970cc63448cc3e28a2c125374ca6c12a30d2f384 (diff)
downloadbcm5719-llvm-058927b8d4ddb539721d2a5e1c6dbab7cb2d47a4.tar.gz
bcm5719-llvm-058927b8d4ddb539721d2a5e1c6dbab7cb2d47a4.zip
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. llvm-svn: 176730
Diffstat (limited to 'clang/test/Analysis/objc-method-coverage.m')
-rw-r--r--clang/test/Analysis/objc-method-coverage.m16
1 files changed, 0 insertions, 16 deletions
diff --git a/clang/test/Analysis/objc-method-coverage.m b/clang/test/Analysis/objc-method-coverage.m
deleted file mode 100644
index cb66bff19b4..00000000000
--- a/clang/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
OpenPOWER on IntegriCloud