hokein added inline comments.

================
Comment at: clang/lib/AST/ComputeDependence.cpp:132
   // FIXME: why is unexpanded-pack not propagated?
   auto D = toExprDependence(E->getType()->getDependence()) &
            ~ExprDependence::UnexpandedPack;
----------------
sammccall wrote:
> I wonder if this is still needed - how can we get a type for the stmtexpr 
> unless we have a result expr providing the type?
it is possible that the stmtexpr has a type and doesn't have a result expr, e.g 
`({ if (1) {}; })`, the default type is `void`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81154



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to