summaryrefslogtreecommitdiffstats
path: root/test/Analysis/analyzer-config.cpp
blob: fb142669b428e05856877496f25d5b687b85c9b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// RUN: %clang --analyze %s -o /dev/null -Xclang -analyzer-checker=debug.ConfigDumper > %t 2>&1
// RUN: FileCheck --input-file=%t %s

void bar() {}
void foo() { bar(); }

class Foo {
public:
	void bar() {}
	void foo() { bar(); }
};

// CHECK: [config]
// CHECK-NEXT: c++-inlining = methods
// CHECK-NEXT: c++-stdlib-inlining = true
// CHECK-NEXT: c++-template-inlining = true
// CHECK-NEXT: cfg-temporary-dtors = false
// CHECK-NEXT: faux-bodies = true
// CHECK-NEXT: graph-trim-interval = 1000
// CHECK-NEXT: ipa-always-inline-size = 3
// CHECK-NEXT: [stats]
// CHECK-NEXT: num-entries = 7
OpenPOWER on IntegriCloud