Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / ClangScanDeps / print-timing.c
blobf27df1ebf732a9c25fa7e07230a152614c9facfa
1 // RUN: rm -rf %t && mkdir %t
2 // RUN: split-file %s %t
4 // RUN: clang-scan-deps -compilation-database %t/cdb.json -print-timing > %t/result.json 2>%t/errs
5 // RUN: cat %t/errs | FileCheck %s
6 // CHECK: clang-scan-deps timing: {{[0-9]+}}.{{[0-9][0-9]}}s wall, {{[0-9]+}}.{{[0-9][0-9]}}s process
8 //--- cdb.json
9 []