[all-commits] [llvm/llvm-project] 28b26b: [clang] [test] Narrow down an MSVC specific behavi...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue May 30 13:06:57 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28b26b161c2f5f8aecf8fffa7220cacc990ba51c
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M clang/test/CXX/drs/dr9xx.cpp

  Log Message:
  [clang] [test] Narrow down an MSVC specific behaviour to only not covever MinGW

This uses the same logic as in c2b256a990590dc8b69930259650cfeb085add03;
we can't check defined(_MSC_VER) invoked as %clang_cc1, therefore
check for !defined(__MINGW32__) instead.

This fixes the same issue in a new testcase that was added after this
issue was fixed last time in c2b256a990590dc8b69930259650cfeb085add03.

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

More information about the All-commits mailing list