[llvm-bugs] [Bug 27676] Modules reject 'valid' C++

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 9 12:04:33 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27676

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This is the documented and intended behavior of macros in modular builds. See

  http://clang.llvm.org/docs/Modules.html#macros

A #undef in a modular header only undefines the macros that are visible to that
module.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160509/97f4a318/attachment.html>


More information about the llvm-bugs mailing list