[llvm-bugs] [Bug 38388] New: Submodule `.` import does not work

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 31 09:13:54 PDT 2018


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

            Bug ID: 38388
           Summary: Submodule `.` import does not work
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: petrol.91 at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Created attachment 20624
  --> https://bugs.llvm.org/attachment.cgi?id=20624&action=edit
Archive with code example

Module import stuff on _clang 6.0.0_ does not work well when submodule is tried
to be imported. Generally it does not work at all. It makes biggest problem
during modularization of external lib (fmtlib in my case) where stl `#include`s
are converted to `std.*`. Such imports with `.` are failing due to (for
example) `fatal error: module 'std.vector' not found`. Attached code simplifies
and illustrates the problem.

-- 
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/20180731/4e930bd6/attachment-0001.html>


More information about the llvm-bugs mailing list