[PATCH] D108540: [clang][deps] Collect precompiled deps from submodules too

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 23 04:33:50 PDT 2021


jansvoboda11 added inline comments.


================
Comment at: clang/test/ClangScanDeps/modules-pch-common-via-submodule.c:85
+// CHECK-TU:              "-emit-module"
+// CHECK-TU:              "-fmodule-file=[[PREFIX]]/build/[[HASH_MOD_COMMON:.*]]/ModCommon-{{.*}}.pcm"
+// CHECK-TU:              "-fmodules"
----------------
Previously, we'd miss this module included from `mod_tu_sub.h`, resulting in a compilation error for `ModTU`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108540/new/

https://reviews.llvm.org/D108540



More information about the cfe-commits mailing list