Mercurial > hg > CbC > CbC_llvm
view clang/test/ClangScanDeps/modules-pch.c @ 222:81f6424ef0e3 llvm-original
LLVM original branch
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:10:01 +0900 |
parents | 79ff65ed7e25 |
children | 5f17cb93ff66 |
line wrap: on
line source
// RUN: rm -rf %t && mkdir %t // RUN: cp %S/Inputs/modules-pch/* %t // Explicitly build the PCH: // // RUN: %clang -x c-header %t/pch.h -fmodules -gmodules -fimplicit-module-maps \ // RUN: -fmodules-cache-path=%t/cache -o %t/pch.h.gch // Scan dependencies of the TU: // // RUN: sed "s|DIR|%/t|g" %S/Inputs/modules-pch/cdb_tu.json > %t/cdb.json // RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full \ // RUN: -generate-modules-path-args -module-files-dir %t/build