[all-commits] [llvm/llvm-project] 99eca8: [Driver] Enable to use C++20 standalne by -fcxx-mo...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Sun May 29 19:25:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 99eca8353808f63670c647aeae03e0ce66eb21e0
https://github.com/llvm/llvm-project/commit/99eca8353808f63670c647aeae03e0ce66eb21e0
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2022-05-30 (Mon, 30 May 2022)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/modules.cpp
A clang/test/Modules/cxx-modules.cppm
Log Message:
-----------
[Driver] Enable to use C++20 standalne by -fcxx-modules
This patch allows user to use C++20 module by -fcxx-modules. Previously,
we could only use it under -std=c++20. Given that user could use C++20
coroutine standalonel by -fcoroutines-ts. It makes sense to offer an
option to use C++20 modules without enabling C++20.
Reviewed By: iains, MaskRay
Differential Revision: https://reviews.llvm.org/D120540
More information about the All-commits
mailing list