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

David Blaikie <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #1 from David Blaikie <[email protected]> ---
I believe that's intended behavior - the non-visible modules are considered to
be part of the program, even if they aren't used, and so subject to the ODR. I
believe the right approach if you need to support code like this is to ensure a
module with conflicting definitions is never imported - so perhaps making
smaller/narrower modules would be necessary.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to