summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx0x-initializer-references.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't crash when binding a reference to a temporary pointer created fromRichard Smith2013-01-151-0/+7
| | | | | | | | resolving an overloaded function reference within an initializer list. Previously we would try to resolve the overloaded function reference without first stripping off the InitListExpr wrapper. llvm-svn: 172517
* PR12660: Don't crash when initializing a const reference from a braced init listRichard Smith2012-04-261-0/+5
| | | | | | which creates a temporary by calling a constructor. llvm-svn: 155608
* Be smarter in discovering list-initialization of temporaries. Fixes PR12182.Sebastian Redl2012-03-071-0/+8
| | | | llvm-svn: 152231
* Change the way we store initialization kinds so that all direct inits can ↵Sebastian Redl2012-02-121-0/+5
| | | | | | distinguish between list and parens form. This allows us to correctly diagnose the last test cases from litb. llvm-svn: 150343
* Implement overload resolution for reference-typed parameters supplied with ↵Sebastian Redl2011-12-031-0/+43
| | | | | | initializer lists. llvm-svn: 145769
* Reference initialization with initializer lists.Sebastian Redl2011-11-271-0/+31
This supports single-element initializer lists for references according to DR1288, as well as creating temporaries and binding to them for other initializer lists. llvm-svn: 145186
OpenPOWER on IntegriCloud