[all-commits] [llvm/llvm-project] b8c39e: Fix compiling with clang-cl inside a Visual Studio...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Tue Jan 28 12:03:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b8c39e94626597912783d2077244158a4d5f27b8
      https://github.com/llvm/llvm-project/commit/b8c39e94626597912783d2077244158a4d5f27b8
  Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M llvm/include/llvm/Support/Compiler.h

  Log Message:
  -----------
  Fix compiling with clang-cl inside a Visual Studio 2019 16.4 command prompt.

This was introduced by 0d17410e919124b3a9194b9bdbe2ce39dd779941 and was preventing from compiling with clang-cl on Windows.
The problem was that clang-cl detects the triple from the current env vars (was x86_64-pc-windows-msvc19.24.28315 for me, as I happen to always run inside a VS2019 cmd prompt).




More information about the All-commits mailing list