1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00
Hubert Tong 5f48e8fe2e TrailingObjects::FixedSizeStorage constexpr fixes + tests
Summary:
This change fixes issues with `LLVM_CONSTEXPR` functions and
`TrailingObjects::FixedSizeStorage`. In particular, some of the
functions marked `LLVM_CONSTEXPR` used by `FixedSizeStorage` were not
implemented such that they evaluate successfully as part of a constant
expression despite constant arguments.

This change also implements a more traditional template-meta path to
accommodate MSVC, and adds unit tests for `FixedSizeStorage`.

Drive-by fix: the access control for members of `TrailingObjectsImpl` is
tightened.

Reviewers: faisalv, rsmith, aaron.ballman

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D22668

llvm-svn: 277270
2016-07-30 14:01:00 +00:00
..
2016-01-28 20:36:46 +00:00
2015-06-19 01:53:21 +00:00
2016-04-18 09:17:29 +00:00
2014-06-08 22:29:17 +00:00
2014-09-15 21:51:49 +00:00
2015-11-18 00:31:34 +00:00
2014-12-04 16:59:36 +00:00
2014-12-04 16:59:36 +00:00
2016-04-18 09:17:29 +00:00
2016-04-18 09:17:29 +00:00