================
@@ -376,6 +376,9 @@ ExprDependence clang::computeDependence(PackExpansionExpr 
*E) {
 
 ExprDependence clang::computeDependence(PackIndexingExpr *E) {
   ExprDependence D = E->getIndexExpr()->getDependence();
+  if (D & ExprDependence::Value)
+    D |= ExprDependence::TypeInstantiation;
----------------
cor3ntin wrote:

NVM, you are right, we can simplify this whole thing, I'll do that shortly

https://github.com/llvm/llvm-project/pull/91933
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to