summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/constexpr-backtrace-limit.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-4/+4
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* C++11 generalized constant expressions: implement checking and diagnostics forRichard Smith2012-01-061-2/+2
| | | | | | | pointer-arithmetic-related undefined behavior and unspecified results. We continue to fold such values, but now notice they aren't constant expressions. llvm-svn: 147659
* C++11 constexpr: Add note stacks containing backtraces if constant evaluationRichard Smith2011-12-161-0/+34
fails within a call to a constexpr function. Add -fconstexpr-backtrace-limit argument to driver and frontend, to control the maximum number of notes so produced (default 10). Fix APValue printing to be able to pretty-print all APValue types, and move the testing for this functionality from a unittest to a -verify test now that it's visible in clang's output. llvm-svn: 146749
OpenPOWER on IntegriCloud