[PATCH] D142925: [Clang] Improve error message for violations of -fmodules-decluse.
James Y Knight via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 30 12:07:43 PST 2023
jyknight created this revision.
jyknight added a reviewer: ChuanqiXu.
Herald added a project: All.
jyknight requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Now it reports the name of the indirectly-used module which is
missing.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142925
Files:
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/lib/Lex/ModuleMap.cpp
clang/test/Modules/Inputs/declare-use/h.h
clang/test/Modules/declare-use-textual.cpp
clang/test/Modules/declare-use1.cpp
clang/test/Modules/declare-use2.cpp
clang/test/Modules/declare-use3.cpp
clang/test/Modules/strict-decluse.cpp
clang/test/Modules/string_names.cpp
clang/test/Modules/textual-headers.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142925.493378.patch
Type: text/x-patch
Size: 6495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230130/591d83f3/attachment.bin>
More information about the cfe-commits
mailing list