ogoffart added a comment.

The idea is that when we see a ") {"  or "} {"  in the ctor-initializers, 
(optionally with "..."), it is necessarily the start of the body.

Unless there might be lambda expressions within a template aregument, as in:

    
  A::A() : Base<[](){return 42; }()>(){}

But this is not valid because lambda expression cannot appear in this context 
as far as i know since lambda expression cannot appear in template argument


http://reviews.llvm.org/D20821



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

Reply via email to