[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 06:27:39 PDT 2022


ilya-biryukov created this revision.
ilya-biryukov added a reviewer: sammccall.
Herald added a project: All.
ilya-biryukov requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: clang.

This only shows up if one passes module maps to Clang in `-std=c++20`
modes, e.g. for layering checks.


Repository:
  rG LLVM Github Monorepo

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.430024.patch
Type: text/x-patch
Size: 8152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220517/32368cfb/attachment.bin>


More information about the cfe-commits mailing list