[clang] [Clang] [Sema] Support matrix types in pseudo-destructor expressions (PR #117483)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 16 17:20:13 PST 2024
================
@@ -0,0 +1,31 @@
+// RUN: %clang_cc1 -fsyntax-only -fenable-matrix -std=c++11 -verify %s
+// expected-no-diagnostics
+
+template <typename T>
+void f() {
+ T().~T();
+}
+
+template <typename T>
+void f1(T *f) {
----------------
Sirraide wrote:
Well, it turns out we currently don’t support matrix types in constant expressions, so, er, I’ll open a separate issue about that.
https://github.com/llvm/llvm-project/pull/117483
More information about the cfe-commits
mailing list