[PATCH] D149612: [Sema] avoid merge error type

Congcong Cai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 5 14:08:41 PDT 2023


HerrCai0907 added a comment.

> So I'm still not sure this is the 'right' away about it. I think we should instead properly handle the containsErrors case and just always create a non-dependent sized array, except with the RecoveryExpr having the correct type.

You are right. Fix as your suggestion.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149612/new/

https://reviews.llvm.org/D149612



More information about the cfe-commits mailing list