87a0078b89
Classes of issues addressed: 1. static constexpr class variables aren't automatically inline. Already handled in a separate CL 2. Lack of C++17 copy elision means classes of objects constructed at function return need a copy or move constructor even if RVO will mean it isn't called. 3. Nested braced init no longer allowed for base classes of subclasses without constructors. 4. template static constexpr var in template class throws error about redundant initialization. Adding inline and removing defn outside of class fixes it. 5. Some places that should have been including std headers now actually need to include them. 6. No auto template parameters. 7. No lambdas in constexpr funcs. Bug: chromium:1257145 Change-Id: Icb24c6b4ed039287fb4cf27a21a1bb7dc9821728 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/457298 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com> |
||
---|---|---|
.. | ||
include | ||
src | ||
BUILD.gn | ||
skshaper.gni |