[Driver] [C++20] [Modules] Don't emit unused-argument warning for '-fmodule-output...
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>
Mon, 16 Jan 2023 06:07:58 +0000 (14:07 +0800)
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>
Mon, 16 Jan 2023 06:08:02 +0000 (14:08 +0800)
commitfcb6afb508c420c3a95e6e1324b1586255a08f40
tree4e37983292c5dc5bf94eb71c849d9f9cf35cf6da
parent3e9e8d6ef44244491e25f7bc918f6e91e16b7714
[Driver] [C++20] [Modules] Don't emit unused-argument warning for '-fmodule-output'  and '-fmodule-output='

Suppres the r unused-argument warning for -fmodule-output according to
the discussion thread in
https://gcc.gnu.org/pipermail/gcc/2022-December/240239.html.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D140001
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/module-output.cppm