[all-commits] [llvm/llvm-project] 0b6abe: [llvm][Support][modulemap] Exclude WindowsSupport....

Michael Spencer via All-commits all-commits at lists.llvm.org
Fri Feb 28 14:40:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b6abe428164c38c7dec6c539e454cfd671067a4
      https://github.com/llvm/llvm-project/commit/0b6abe428164c38c7dec6c539e454cfd671067a4
  Author: Michael Spencer <bigcheesegs at gmail.com>
  Date:   2020-02-28 (Fri, 28 Feb 2020)

  Changed paths:
    M llvm/include/llvm/module.modulemap

  Log Message:
  -----------
  [llvm][Support][modulemap] Exclude WindowsSupport.h from the LLVM_Util module

rG01f9abbb50b1 moved WindowsSupport.h to include/llvm/Support/Windows/

This is a problem because the modulemap include all of the Support and
ADT directories, thus any use of any header in Support or ADT would
cause the compiler to try to build WindowsSupport.h, which only works
on Windows.

Fix this by explicitly excluding WindowsSupport.h from the LLVM_Util
module.




More information about the All-commits mailing list