2012-10-03 04:31:52 +08:00
|
|
|
// 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]
|
2013-02-28 02:49:43 +08:00
|
|
|
// CHECK-NEXT: c++-inlining = constructors
|
2012-10-03 04:31:52 +08:00
|
|
|
// CHECK-NEXT: c++-stdlib-inlining = true
|
|
|
|
// CHECK-NEXT: c++-template-inlining = true
|
|
|
|
// CHECK-NEXT: cfg-temporary-dtors = false
|
|
|
|
// CHECK-NEXT: faux-bodies = true
|
2012-10-24 07:59:05 +08:00
|
|
|
// CHECK-NEXT: graph-trim-interval = 1000
|
2013-01-25 07:15:30 +08:00
|
|
|
// CHECK-NEXT: ipa = dynamic-bifurcate
|
2012-10-03 04:31:56 +08:00
|
|
|
// CHECK-NEXT: ipa-always-inline-size = 3
|
2013-01-31 03:12:36 +08:00
|
|
|
// CHECK-NEXT: max-inlinable-size = 50
|
2013-01-31 03:12:39 +08:00
|
|
|
// CHECK-NEXT: max-nodes = 150000
|
2012-12-18 04:08:51 +08:00
|
|
|
// CHECK-NEXT: max-times-inline-large = 32
|
2013-01-25 07:15:34 +08:00
|
|
|
// CHECK-NEXT: mode = deep
|
2012-10-03 04:31:52 +08:00
|
|
|
// CHECK-NEXT: [stats]
|
2013-01-31 03:12:39 +08:00
|
|
|
// CHECK-NEXT: num-entries = 12
|