[clang] [clang] Fix crash in concept deprecation (PR #98622)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 18 01:15:39 PDT 2024
================
@@ -36,4 +36,11 @@ template <C T>
// expected-warning at -1 {{'C' is deprecated}}
// expected-note@#C {{'C' has been explicitly marked deprecated here}}
void f();
+
+template <int>
+auto b() = delete; // #b
+
+decltype(b<0>()) x;
+// expected-error at -1 {{call to deleted function 'b'}}
+// expected-note@#b {{candidate function [with $0 = 0] has been explicitly deleted}}
----------------
Endilll wrote:
Fixed
https://github.com/llvm/llvm-project/pull/98622
More information about the cfe-commits
mailing list