[clang] [clang][AST] Invalidate DecompositionDecl if it has invalid initializer. (PR #72428)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 16 09:43:57 PST 2023


================
@@ -24,4 +24,17 @@ void test() {
   auto b4 = A(1);
   // CHECK: `-VarDecl {{.*}} invalid b5 'auto'
   auto b5 = A{1};
-}
\ No newline at end of file
+}
+
+void pr72198() {
----------------
cor3ntin wrote:

```suggestion
void GH72198() {
```

https://github.com/llvm/llvm-project/pull/72428


More information about the cfe-commits mailing list