diff options
-rw-r--r-- | test/Analysis/Stats/lit.local.cfg | 4 | ||||
-rw-r--r-- | test/Analysis/objc-method-coverage.m (renamed from test/Analysis/Stats/objc-method-coverage.m) | 3 | ||||
-rw-r--r-- | test/Analysis/stats.c (renamed from test/Analysis/Stats/stats.c) | 1 |
3 files changed, 3 insertions, 5 deletions
diff --git a/test/Analysis/Stats/lit.local.cfg b/test/Analysis/Stats/lit.local.cfg deleted file mode 100644 index a36c70e00e..0000000000 --- a/test/Analysis/Stats/lit.local.cfg +++ /dev/null @@ -1,4 +0,0 @@ -config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s'] - -if 'asserts' not in config.root.available_features: - config.unsupported = True diff --git a/test/Analysis/Stats/objc-method-coverage.m b/test/Analysis/objc-method-coverage.m index cb66bff19b..489c19ba6c 100644 --- a/test/Analysis/Stats/objc-method-coverage.m +++ b/test/Analysis/objc-method-coverage.m @@ -1,3 +1,4 @@ +// REQUIRES: asserts // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s @interface I int f() { @@ -13,4 +14,4 @@ int f() { // 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 +// CHECK: 100 AnalysisConsumer - The % of reachable basic blocks. diff --git a/test/Analysis/Stats/stats.c b/test/Analysis/stats.c index 6beadbeb41..5701dc71f5 100644 --- a/test/Analysis/Stats/stats.c +++ b/test/Analysis/stats.c @@ -1,3 +1,4 @@ +// REQUIRES: asserts // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats %s 2>&1 | FileCheck %s void foo() { |