Skip to content
Snippets Groups Projects
Commit f96df908 authored by Jan Wen Voung's avatar Jan Wen Voung
Browse files

Partly revert "Move clang tests that depend on llvm/ADT/Statistic.h to a subdir".

This reverts commit 176730, and uses "REQUIRES: asserts" instead.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176815 91177308-0d34-0410-b5e6-96231b3b80d8
parent 695bbea5
No related branches found
No related tags found
No related merge requests found
config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s']
if 'asserts' not in config.root.available_features:
config.unsupported = True
// REQUIRES: asserts
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s
@interface I @interface I
int f() { int f() {
...@@ -13,4 +14,4 @@ int f() { ...@@ -13,4 +14,4 @@ int f() {
// CHECK: ... Statistics Collected ... // CHECK: ... Statistics Collected ...
// CHECK: 2 AnalysisConsumer - The # of functions and blocks analyzed (as top level with inlining turned on). // CHECK: 2 AnalysisConsumer - The # of functions and blocks analyzed (as top level with inlining turned on).
// CHECK: 100 AnalysisConsumer - The % of reachable basic blocks. // CHECK: 100 AnalysisConsumer - The % of reachable basic blocks.
\ No newline at end of file
// REQUIRES: asserts
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats %s 2>&1 | FileCheck %s // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats %s 2>&1 | FileCheck %s
void foo() { void foo() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment