summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PseudoSourceValue.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-01-30 22:09:00 +0000
committerDouglas Gregor <dgregor@apple.com>2009-01-30 22:09:00 +0000
commitd14247a9e5800268d3b0757fa32f0b8bdfb6f859 (patch)
treeaf03fe2c6ee079cf2f175e9c40578544790b596d /llvm/lib/CodeGen/PseudoSourceValue.cpp
parentfa57e8e7abde3c0473096b6b7b85215e7817d109 (diff)
downloadbcm5719-llvm-d14247a9e5800268d3b0757fa32f0b8bdfb6f859.tar.gz
bcm5719-llvm-d14247a9e5800268d3b0757fa32f0b8bdfb6f859.zip
Implement and test aggregate initialization in C++. Major changes:
- Support initialization of reference members; complain if any reference members are left uninitialized. - Use C++ copy-initialization for initializing each element (falls back to constraint checking in C) - Make sure we diagnose when one tries to provide an initializer list for a non-aggregate. - Don't complain about empty initializers in C++ (they are permitted) - Unrelated but necessary: don't bother trying to convert the decl-specifier-seq to a type when we're dealing with a C++ constructor, destructor, or conversion operator; it results in spurious warnings. llvm-svn: 63431
Diffstat (limited to 'llvm/lib/CodeGen/PseudoSourceValue.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud