[NFC] Judge if we have std c++ modules in RenderModulesOptions
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>
Mon, 17 Oct 2022 07:48:13 +0000 (15:48 +0800)
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>
Mon, 17 Oct 2022 07:51:02 +0000 (15:51 +0800)
commitf461e8045e220c3848b572cb5afd0e9db8d41681
tree15dbe8c24082c08f5f3e4f93363d5854bce501d2
parent95935d3f6d2dfab146c97325f97b208068bdabc1
[NFC] Judge if we have std c++ modules in RenderModulesOptions

This patch moves the judgement if the std c++ modules feature is enabled
into the RenderModulesOptions function. It simplify the code a little
bit further more. It also helps further patches.
clang/lib/Driver/ToolChains/Clang.cpp