================
@@ -724,10 +724,17 @@ ExprDependence 
clang::computeDependence(GenericSelectionExpr *E,
   auto D = ContainsUnexpandedPack ? ExprDependence::UnexpandedPack
                                   : ExprDependence::None;
   for (auto *AE : E->getAssocExprs())
-    D |= AE->getDependence() & ExprDependence::Error;
+    D |= AE->getDependence() &
+         (ExprDependence::Error | ExprDependence::Instantiation);
----------------
shadow-forge-dev wrote:

@shafik this combination is only being used here and in NoInitExpr introducing 
a completely new enum name feels a bit unnecessary  but if u want that i can 
add it let me know :)
yeah u are right abt the ordering i will swap it and put it on the end thanks 
for the advice :)

https://github.com/llvm/llvm-project/pull/183524
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to