[cfe-dev] Bug 39206 - [Modules TS] Macro defined in module interface cannot be set in implementation
Matt Asplund via cfe-dev
cfe-dev at lists.llvm.org
Sun Oct 21 17:54:14 PDT 2018
This was discussed in a separate thread, but got lost in the discussion.
I am currently working on porting a legacy project over to using the new
modules-ts and would hit the issue linked in *Bug 39206
<https://bugs.llvm.org/show_bug.cgi?id=39206> *I could not find any
explicit section of the spec that says the processor should be effected by
compilation of a module, however clang seems to be hiding macros that were
defined in included header files that were also included in the interface
If this is indeed a bug I would also appreciate help pointing in the right
direction in the code. I have spent some time trying to find where the
actual check is occurring that is hiding macros, but am at a loss.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev