[llvm-bugs] [Bug 39345] New: Conflicting definition/declaration errors from unused submodules

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 18 10:37:47 PDT 2018


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

            Bug ID: 39345
           Summary: Conflicting definition/declaration errors from unused
                    submodules
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: andrewjcg at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

When importing a submodule, an unused/unimported sibling submodule defined in
the same top-level module can cause conflicts in the current compilation unit
if the compilation unit and the unused submodule having conflicting struct
definitions.

Repro at: https://reviews.llvm.org/differential/diff/170103/.

-- 
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/20181018/b3dd0119/attachment-0001.html>


More information about the llvm-bugs mailing list