diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-03-02 04:14:40 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-03-02 04:14:40 +0000 |
| commit | 35ecb36fcd71f113a1c574bd4f7cd2d32d033213 (patch) | |
| tree | 4f9ab5429888b534b6e1b5b95c481414957f73a1 /llvm/unittests/ADT/HashingTest.cpp | |
| parent | 545f38c3d2ecb4785ad33d90887831e1e6057b25 (diff) | |
| download | bcm5719-llvm-35ecb36fcd71f113a1c574bd4f7cd2d32d033213.tar.gz bcm5719-llvm-35ecb36fcd71f113a1c574bd4f7cd2d32d033213.zip | |
Ensure that we instantiate static reference data members of class templates
early, since their values can be used in constant expressions in C++11. For
odr-use checking, the opposite change is required, since references are
odr-used whether or not they satisfy the requirements for appearing in a
constant expression.
llvm-svn: 151881
Diffstat (limited to 'llvm/unittests/ADT/HashingTest.cpp')
0 files changed, 0 insertions, 0 deletions

