summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/const-init-cxx1y.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-1/+1
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* Emit initializers for static-storage-duration temporaries as constants whereRichard Smith2013-06-141-0/+19
| | | | | | possible. llvm-svn: 183967
* Model temporary lifetime-extension explicitly in the AST. Use this model toRichard Smith2013-06-051-1/+10
| | | | | | | | | handle temporaries which have been lifetime-extended to static storage duration within constant expressions. This correctly handles nested lifetime extension (through reference members of aggregates in aggregate initializers) but non-constant-expression emission hasn't yet been updated to do the same. llvm-svn: 183283
* Implement C++1y constant initializer rules: in a constant initializer for anRichard Smith2013-05-091-0/+20
object x, x's subobjects can be constructed by constexpr constructor even if they are of non-literal type, and can be read and written even though they're not members of a constexpr object or temporary. llvm-svn: 181506
OpenPOWER on IntegriCloud