skia2/modules/skshaper
Brian Salomon 87a0078b89 Support building on clang with -std=c++14 but no C++17 extension warning.
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>
2021-10-12 16:34:30 +00:00
..
include Support building on clang with -std=c++14 but no C++17 extension warning. 2021-10-12 16:34:30 +00:00
src Support building on clang with -std=c++14 but no C++17 extension warning. 2021-10-12 16:34:30 +00:00
BUILD.gn Reland "Experimental ICU runtime linking" 2021-07-27 19:51:31 +00:00
skshaper.gni Reland "Experimental ICU runtime linking" 2021-07-27 19:51:31 +00:00