summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/constexpr-turing.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Since we're counting number of steps, switch to turing machines which maximizeRichard Smith2013-05-161-8/+8
| | | | | | | #steps not #1s, and use a more traditional step count where the 'halt' step is not counted. llvm-svn: 182057
* Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs2012-10-191-0/+1
| | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
* Implement DR1454. This allows all intermediate results in constant expressionsRichard Smith2012-02-151-0/+55
to be core constant expressions (including pointers and references to temporaries), and makes constexpr calculations Turing-complete. A Turing machine simulator is included as a testcase. This opens up the possibilty of removing CCValue entirely, and removing some copies from the constant evaluator in the process, but that cleanup is not part of this change. llvm-svn: 150557
OpenPOWER on IntegriCloud