[all-commits] [llvm/llvm-project] 936ca1: WindowsSupport.h: do not depend on private config ...

Andrew Kelley via All-commits all-commits at lists.llvm.org
Tue Jun 1 13:05:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 936ca1e21a91843c76b20c6c857aaddd5fa3d42a
      https://github.com/llvm/llvm-project/commit/936ca1e21a91843c76b20c6c857aaddd5fa3d42a
  Author: Andrew Kelley <andrew at ziglang.org>
  Date:   2021-06-01 (Tue, 01 Jun 2021)

  Changed paths:
    M llvm/include/llvm/Support/Windows/WindowsSupport.h

  Log Message:
  -----------
  WindowsSupport.h: do not depend on private config header

WindowsSupport.h is a public header, however if it gets included, will cause a compile error indicating that llvm/Config/config.h cannot be found, because config.h is a private header. However there is no actual dependency on the private things in this header, so it can be changed to the public config header.

Reviewed By: amccarth

Differential Revision: https://reviews.llvm.org/D103370




More information about the All-commits mailing list