2018-02-10 09:49:20 +08:00
|
|
|
// RUN: %clang_analyze_cc1 %s -analyzer-checker=core -analyzer-output=plist -analyzer-config serialize-stats=true -o %t.plist
|
|
|
|
// REQUIRES: asserts
|
|
|
|
// RUN: FileCheck --input-file=%t.plist %s
|
|
|
|
|
|
|
|
int foo() {}
|
|
|
|
|
|
|
|
|
|
|
|
// CHECK: <key>diagnostics</key>
|
|
|
|
// CHECK-NEXT: <array>
|
|
|
|
// CHECK-NEXT: </array>
|
2018-09-08 05:58:24 +08:00
|
|
|
// CHECK-NEXT: <key>files</key>
|
|
|
|
// CHECK-NEXT: <array>
|
|
|
|
// CHECK-NEXT: </array>
|
2018-02-10 09:49:20 +08:00
|
|
|
// CHECK-NEXT: <key>statistics</key>
|
|
|
|
// CHECK-NEXT: <string>{
|
|
|
|
// CHECK: }
|
|
|
|
// CHECK-NEXT: </string>
|