[libcxx] Amend XFAIL for failing tests on Windows (#70422)

Some tests starting passing/failing after #69431 because Clang no longer
enables -fdelayed-template-parsing by default on Windows with C++20.
This commit is contained in:
Petr Hosek 2023-10-30 20:45:03 -07:00 committed by GitHub
parent e6971e5a41
commit a5403a3a69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 3 deletions

View File

@ -6,9 +6,10 @@
//
//===----------------------------------------------------------------------===//
// This test fails because diagnose_if doesn't emit all of the diagnostics
// when -fdelayed-template-parsing is enabled, like it is in MSVC mode.
// XFAIL: msvc
// This test fails with Clang <18 because diagnose_if doesn't emit all of the
// diagnostics when -fdelayed-template-parsing is enabled, like it is in MSVC
// mode.
// XFAIL: msvc && (clang-16 || clang-17)
// REQUIRES: diagnose-if-support

View File

@ -6,6 +6,10 @@
//
//===----------------------------------------------------------------------===//
// This test fails because Clang no longer enables -fdelayed-template-parsing
// by default on Windows with C++20 (#69431).
// XFAIL: msvc && clang-18
// UNSUPPORTED: c++03, c++11
#include <cassert>

View File

@ -6,6 +6,10 @@
//
//===----------------------------------------------------------------------===//
// This test fails because Clang no longer enables -fdelayed-template-parsing
// by default on Windows with C++20 (#69431).
// XFAIL: msvc && clang-18
// <math.h>
#include <math.h>

View File

@ -6,6 +6,10 @@
//
//===----------------------------------------------------------------------===//
// This test fails because Clang no longer enables -fdelayed-template-parsing
// by default on Windows with C++20 (#69431).
// XFAIL: msvc && clang-18
// <cmath>
#include <cmath>