[clang] [Clang][P1061] Add stuctured binding packs (PR #121417)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 15 07:14:04 PST 2025


================
@@ -104,7 +104,6 @@ void CodeGenFunction::EmitDecl(const Decl &D) {
   case Decl::Binding:
   case Decl::UnresolvedUsingIfExists:
   case Decl::HLSLBuffer:
-    llvm_unreachable("Declaration should not be in declstmts!");
----------------
zwuis wrote:

Can we move some `case`s after this statement instead of removing `unreachable`?

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


More information about the cfe-commits mailing list