
Now it reports the name of the indirectly-used module which is missing. Reviewed By: ChuanqiXu Differential Revision: https://reviews.llvm.org/D142925
7 lines
508 B
C++
7 lines
508 B
C++
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -fimplicit-module-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=Textual -I %S/Inputs/declare-use %s -verify
|
|
// RUN: %clang_cc1 -fimplicit-module-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=Textual -I %S/Inputs/declare-use %s -fno-modules-validate-textual-header-includes
|
|
|
|
// expected-error@textual.h:* {{module Textual does not directly depend on a module exporting 'a.h', which is part of indirectly-used module XA}}
|
|
#include "textual.h"
|