[AST][RecoveryExpr] Add error-bit to NestNameSpecifierDependence and TemplateNameDependence.
Summary: We might lose the error-bit if the error-bit goes through the code path "error type/expr" -> "error template argument" -> "nested name specifier" -> ... -> "template Specialization type" Template name also needs this, as a template can be nested into an error specifier, e.g. templateName apply in `TC<decltype(<recovery-expr>(Foo, int()))>::template apply` Reviewers: sammccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82526
Loading
Please sign in to comment