lichray marked 3 inline comments as done.
lichray added inline comments.
================
Comment at: lib/Sema/SemaDeclCXX.cpp:696-698
+ // a for-range-declaration, or a condition in C++2a, but we parse it in more
+ // cases than that.
+ if (!D.mayHaveDecompositionDeclarator(getLangOpts())) {
----------------
rsmith wrote:
> Again, please don't guess what's going to be in C++2a. I would actually
> expect that we'll vote this in as a DR against C++17. It seems like a wording
> oversight to me.
I would say, use DR with parsimony... But OK.
OT: I'm writing a paper on `auto(x)` and `auto{x}` while implementing it. Do
you expect this to land as a DR? In which form you expect it to appear in
Clang?
https://reviews.llvm.org/D39284
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits