[PATCH] Allow TestVisitor-based tests to specify use of C++11

James Dennett jdennett at google.com
Fri Jun 28 01:02:54 PDT 2013


I have a patch to follow this to fix
RecursiveASTVisitor::TraverseLambdaExpr, but testing it requires use
of C++11 lambdas (strangely enough), so this (tiny) patch is a
precursor to enable that test.

I kept the default as C++98 for now, and I didn't add an explicit
Lang_C99 or Lang_CXX1Y (figuring that they can be added if/when
they're needed).

I'd like to get a sanity check before I commit this.  Any takers?

Thanks,

James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-visitor-cxx11-support.patch
Type: application/octet-stream
Size: 880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130628/7160e9f0/attachment.obj>


More information about the cfe-commits mailing list