rsmith added a comment.

The right thing to check in all of these cases should be only 
`isValueDependent()`. Every type-dependent expression should generally also be 
value-dependent (because the type is part of the value), but value-dependent 
exactly means "dependent in a way that prevents constant evaluation", so that's 
all that we should be checking.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D61522



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

Reply via email to