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

            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: unassignedclangb...@nondot.org
          Reporter: tras...@gmail.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@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
https://clang.llvm.org/docs/Modules.html#command-line-parameters.
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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to