[PATCH] D125773: [Driver] Do not auto-enable header modules with -std=c++20

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 17 07:29:57 PDT 2022


ilya-biryukov updated this revision to Diff 430056.
ilya-biryukov added a comment.

- Revert gnu++20 fix
- Always pass -fheader-modules/-fno-header-modules when modules are enabled


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125773/new/

https://reviews.llvm.org/D125773

Files:
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Lex/PPDirectives.cpp
  clang/test/Driver/cpp20-header-module.cpp
  clang/test/Modules/Inputs/cxx20-and-header-modules/a.h
  clang/test/Modules/Inputs/cxx20-and-header-modules/a.map
  clang/test/Modules/cxx20-and-header-modules.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125773.430056.patch
Type: text/x-patch
Size: 6229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220517/158293dc/attachment.bin>


More information about the cfe-commits mailing list