skia2/modules/skparagraph/include
Ben Wagner 833313b21a Add back deprecated warnings.
Unfortunately in clang 'deprecated' is both a set of warnings (at least
one of which we don't want) and a group of warnings (most of which we do
want). Leave the top level disabled, but re-enable all the warnings in
the group.

Most of the code changes are for the deprecated-copy diagnostic. In
C++11 implementing a copy constructor xor copy assignment operator
the default implementation of the other is still required to be the
default but is deprecated (the compiler can warn against doing this).
The idea is that if there was a need for a non-default copy constructor
or copy assignment operator then both should be implemented explicitly,
since it is unlikely that the default will do what is expected.

Note that the deprecated-copy-dtor has not yet been enabled as there
will need to be a lot more work to enable this diagnostic. Similar to
deprecated-copy, in C++11 when implementing a destructor the copy
constructor and copy assignment operator are still defaulted if not
declared, but this is also deprecated. The idea here is that if some
special handling is needed to destroy the object there is probably some
need to do something non-trivial when copying the object (or copying
should be disallowed).

Also, there are still some deprecated-declarations to clean up on
Android and Mac.

Change-Id: I5fc4b62713220e6f7d3724fd7342b4c8c74a3c67
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/278916
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2020-03-27 14:18:49 +00:00
..
DartTypes.h Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
FontCollection.h Find and cache font family lists and the typeface lists that they map to 2019-11-20 20:23:51 +00:00
Metrics.h Adding line/style metrics 2019-10-07 15:07:48 +00:00
Paragraph.h A new API call on Paragraph: a number of unresolved glyphs 2019-12-02 19:23:45 +00:00
ParagraphBuilder.h [SkParagraph] Require len if using addText(const char*) 2019-09-29 11:39:34 +00:00
ParagraphCache.h Font resolution: all unit tests working 2019-11-08 17:24:14 +00:00
ParagraphStyle.h Cache should work with INF values 2020-02-06 19:44:43 +00:00
TextShadow.h Reland "SkParagraph" 2019-06-11 17:20:36 +00:00
TextStyle.h Add back deprecated warnings. 2020-03-27 14:18:49 +00:00
TypefaceFontProvider.h Adding line/style metrics 2019-10-07 15:07:48 +00:00