[PATCH] D27794: Make some diagnostic tests C++11 clean
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 21 09:57:53 PST 2016
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
Everything here looks good to me.
================
Comment at: test/FixIt/fixit.cpp:28
+// In C++11 this gets 'expected unqualified-id' which fixit can't fix.
+#if __cplusplus < 201103L
----------------
I guess in C++11 we now parse this as `CT<10> > 2 > ct;`. I'd add a FIXME comment here to re-enable this recovery in C++11.
https://reviews.llvm.org/D27794
More information about the cfe-commits
mailing list