[PATCH] D132971: [clang][modules] Don't hard code [no_undeclared_includes] for the Darwin module
Ian Anderson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 30 14:57:22 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG260fb2bc3f79: [clang][modules] Don't hard code [no_undeclared_includes] for the Darwin module (authored by iana).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132971/new/
https://reviews.llvm.org/D132971
Files:
clang/lib/Lex/ModuleMap.cpp
Index: clang/lib/Lex/ModuleMap.cpp
===================================================================
--- clang/lib/Lex/ModuleMap.cpp
+++ clang/lib/Lex/ModuleMap.cpp
@@ -2026,8 +2026,7 @@
ActiveModule->IsSystem = true;
if (Attrs.IsExternC)
ActiveModule->IsExternC = true;
- if (Attrs.NoUndeclaredIncludes ||
- (!ActiveModule->Parent && ModuleName == "Darwin"))
+ if (Attrs.NoUndeclaredIncludes)
ActiveModule->NoUndeclaredIncludes = true;
ActiveModule->Directory = Directory;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132971.456803.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220830/6817c1e2/attachment.bin>
More information about the cfe-commits
mailing list