Files
archived-llvm/include/llvm/Support
Hubert Tong f84abb4f62 MathExtras.h: add LLVM_CONSTEXPR where simple
Summary:
This change adds `LLVM_CONSTEXPR` to functions selected as follows:
- the body is already valid under C++11 for a `constexpr` function,
- the evaluation of the function, given constant arguments, will not
  fail during the evaluation of a constant expression, and
- the above properties are easily verifiable at a glance.

Note: the evaluation of the function cannot fail if the instantiation
triggers a static assertion failure.

Reviewers: faisalv, rsmith, aaron.ballman

Subscribers: cfe-commits

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277269 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-30 13:38:51 +00:00
..
2016-02-15 04:30:37 +00:00
2016-04-02 03:28:26 +00:00
2016-06-17 18:07:14 +00:00
2016-04-18 09:17:29 +00:00
2016-04-18 09:17:29 +00:00
2016-07-15 22:27:55 +00:00
2016-01-22 19:58:18 +00:00
2016-04-18 09:17:29 +00:00
2016-04-18 09:17:29 +00:00
2010-11-29 18:16:10 +00:00
2016-04-18 09:17:29 +00:00
2016-04-18 09:17:29 +00:00
2015-08-08 18:27:36 +00:00
2016-04-18 09:17:29 +00:00
2016-04-18 09:17:29 +00:00
2016-04-21 22:40:59 +00:00
2015-08-10 04:22:09 +00:00
2013-05-21 20:36:13 +00:00
2016-04-18 09:17:29 +00:00
2015-08-10 04:22:09 +00:00
2016-04-18 09:17:29 +00:00
2016-04-18 09:17:29 +00:00