[llvm-bugs] [Bug 43391] New: clang-cl driver does not add -fimplicit-module-maps

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 20 16:55:59 PDT 2019


            Bug ID: 43391
           Summary: clang-cl driver does not add -fimplicit-module-maps
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: trass3r at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

int main()

$ clang++ -fmodules -fmodules-cache-path=cache -v test.cpp
$ clang-cl -Xclang -fmodules -Xclang -fmodules-cache-path=cache -v test.cpp

The clang++ variant automatically adds -fimplicit-module-maps as described in
The clang-cl line doesn't, making it silently fail to use modules.

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/20190920/4179ca17/attachment-0001.html>

More information about the llvm-bugs mailing list