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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits