jkorous added a comment.

Thanks for fixing this!
The patch LGTM.

I am just wondering what else are we missing here. I guess arithmetic and 
logical operators are also allowed:

  template<int> struct foo {};
  
  int main() { 
      auto lambda1 = []() -> foo<!1> { return foo<!1>{}; }; 
      auto lambda2 = []() -> foo<5+3> { return foo<5+3>{}; }; 
  }


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

https://reviews.llvm.org/D58922



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

Reply via email to