From 7b2b7135ca17674b6d039af701c28a316f30594a Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Sat, 30 Mar 2024 15:40:53 +0000 Subject: [PATCH] Disable tests due broken AST printing in clang-18. See llvm/llvm-project#87151 --- test/FirstDerivative/ClassMethodCall.C | 2 ++ test/FirstDerivative/VirtualMethodsCall.C | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/FirstDerivative/ClassMethodCall.C b/test/FirstDerivative/ClassMethodCall.C index 76992bca2..33dd28263 100644 --- a/test/FirstDerivative/ClassMethodCall.C +++ b/test/FirstDerivative/ClassMethodCall.C @@ -1,5 +1,7 @@ // RUN: %cladclang %s -I%S/../../include -oClassMethods.out 2>&1 | FileCheck %s // RUN: ./ClassMethods.out | FileCheck -check-prefix=CHECK-EXEC %s +// Fails on clang-18 due to https://github.com/llvm/llvm-project/issues/87151 +// XFAIL: clang-18 //CHECK-NOT: {{.*error|warning|note:.*}} #include "clad/Differentiator/Differentiator.h" diff --git a/test/FirstDerivative/VirtualMethodsCall.C b/test/FirstDerivative/VirtualMethodsCall.C index 606625a5d..8ce06a8f9 100644 --- a/test/FirstDerivative/VirtualMethodsCall.C +++ b/test/FirstDerivative/VirtualMethodsCall.C @@ -1,6 +1,8 @@ // RUN: %cladclang %s -I%S/../../include -oVirtualMethodsCall.out 2>&1 | FileCheck %s // RUN: ./VirtualMethodsCall.out | FileCheck -check-prefix=CHECK-EXEC %s // XFAIL: asserts +// Fails on clang-18 due to https://github.com/llvm/llvm-project/issues/87151 +// XFAIL: clang-18 //CHECK-NOT: {{.*error|warning|note:.*}} #include "clad/Differentiator/Differentiator.h"