efriedma added a comment.

I'm not sure this is the right fix. If we were handling the pseudo-destructor 
correctly, I would expect the following to compile successfully:

  typedef bool Var;
  constexpr bool foobool() {
        return (bool().Var::~Var(), false); 
  }


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

https://reviews.llvm.org/D119493

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

Reply via email to