[PATCH] D26267: [Modules] Include builtins with #include instead of #import for ObjC

Richard Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 9 13:59:45 PST 2017


rsmith accepted this revision.
rsmith added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Lex/HeaderSearch.cpp:1082
 
+  auto TryEnterImported = [&](void) -> bool {
+    if (!ModulesEnabled)
----------------
Maybe add a FIXME here indicating that this is a workaround for the lack of proper modules-aware support for `#import` / `#pragma once`?


https://reviews.llvm.org/D26267





More information about the cfe-commits mailing list