summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/cxx0x-delegating-ctors.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Allow -verify directives to be filtered by preprocessing.Jordan Rose2012-07-111-4/+8
| | | | | | | | | | | | | | | | | | | | | This is accomplished by making VerifyDiagnosticsConsumer a CommentHandler, which then only reads the -verify directives that are actually in live blocks of code. It also makes it simpler to handle -verify directives that appear in header files, though we still have to manually reparse some files depending on how they are generated. This requires some test changes. In particular, all PCH tests now have their -verify directives outside the "header" portion of the file, using the @line syntax added in r159978. Other tests have been modified mostly to make it clear what is being tested, and to prevent polluting the expected output with the directives themselves. Patch by Andy Gibbs! (with slight modifications) The new Frontend/verify-* tests exercise the functionality of this commit, as well as r159978, r159979, and r160053 (Andy's other -verify enhancements). llvm-svn: 160068
* Update all tests other than Driver/std.cpp to use -std=c++11 rather thanRichard Smith2011-10-131-3/+3
| | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
* there i fixed itAlexis Hunt2011-05-041-5/+13
| | | | | | | | | Increase robustness of the delegating constructor cycle detection mechanism. No more infinite loops on invalid or logic errors leading to false results. Ensure that this is maintained correctly accross serialization. llvm-svn: 130887
* Implement a better version of delegating constructor cycle detection.Alexis Hunt2011-05-041-1/+5
| | | | | | | | | | | | | This is more efficient as it's all done at once at the end of the TU. This could still get expensive, so a flag is provided to disable it. As an added bonus, the diagnostics will now print out a cycle. The PCH test is XFAILed because we currently can't deal with a note emitted in the header and I, being tired, see no other way to verify the serialization of delegating constructors. We should probably address this problem /somehow/ but no good solution comes to mind. llvm-svn: 130836
* Implement serialization of delegating constructors.Alexis Hunt2011-05-041-0/+8
llvm-svn: 130822
OpenPOWER on IntegriCloud