skia2/src/pdf
Brian Salomon 9fa47cc1c6 Make class members that are static constexpr also be inline.
This is in prep for compiling with -std=c++14 and -Wno-c++17-extensions
when building with clang. Chrome has encountered problems with
third_party headers that are included both in Skia and other Chrome
sources that produce different code based on whether preprocessor macros
indicate a C++14 or C++17 compilation.

In C++17 they are already inline implicitly. When compiling with C++14
we can get linker errors unless they're explicitly inlined or defined
outside the class. With -Wno-c++17-extensions we can explicitly inline
them in the C++14 build because the warning that would be generated
about using a C++17 language extension is suppressed.

We cannot do this in public headers because we support compiling with
C++14 without suppressing the C++17 language extension warnings.

Bug: chromium:1257145
Change-Id: Iaf5f4c62a398f98dd4ca9b7dfb86f2d5cab21d66
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/457498
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2021-10-11 16:22:59 +00:00
..
SkBitmapKey.h
SkClusterator.cpp
SkClusterator.h
SkDeflate.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
SkDeflate.h
SkDocument_PDF_None.cpp Improve SkVerticesPriv ergonomics 2020-03-31 16:10:07 +00:00
SkJpegInfo.cpp Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +00:00
SkJpegInfo.h
SkKeyedImage.cpp Use bitmap.asImage() 2020-12-23 17:41:47 +00:00
SkKeyedImage.h
SkPDFBitmap.cpp Fix cases of variable shadowing in src/pdf/. 2021-08-02 21:49:15 +00:00
SkPDFBitmap.h
SkPDFDevice.cpp [pdf] Fully position after emitting Type3 glyph 2021-08-19 19:43:15 +00:00
SkPDFDevice.h render RSXForm using SkGlyphRunList 2021-04-09 20:23:47 +00:00
SkPDFDocument.cpp Code cleanup: Replace .foreach() loops with regular for loops. 2020-12-23 14:21:17 +00:00
SkPDFDocumentPriv.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkPDFFont.cpp Use bitmap.asImage() 2020-12-23 17:41:47 +00:00
SkPDFFont.h Make SkStrikeCache::Node be SkStrike. 2020-02-15 16:37:58 +00:00
SkPDFFormXObject.cpp
SkPDFFormXObject.h
SkPDFGlyphUse.h Fix SkBitSet. 2020-05-05 20:04:11 +00:00
SkPDFGradientShader.cpp Fix cases of variable shadowing in src/pdf/. 2021-08-02 21:49:15 +00:00
SkPDFGradientShader.h
SkPDFGraphicStackState.cpp Reland "Add SkClipStack::replaceClip() separate from deprecated clip op" 2021-08-06 14:44:39 +00:00
SkPDFGraphicStackState.h Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
SkPDFGraphicState.cpp Hide getBlendMode() 2021-07-07 20:55:26 +00:00
SkPDFGraphicState.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkPDFMakeCIDGlyphWidthsArray.cpp Remove SkSpan class template deduction guides 2021-05-11 20:06:29 +00:00
SkPDFMakeCIDGlyphWidthsArray.h Make SkStrikeCache::Node be SkStrike. 2020-02-15 16:37:58 +00:00
SkPDFMakeToUnicodeCmap.cpp
SkPDFMakeToUnicodeCmap.h
SkPDFMetadata.cpp Enable ClangTidy check readability-const-return-type. 2020-08-07 17:42:38 +00:00
SkPDFMetadata.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkPDFResourceDict.cpp Remove "sanity"/"insane" to comply with Android's inclusive language guidance 2020-07-31 19:21:04 +00:00
SkPDFResourceDict.h
SkPDFShader.cpp Migrate to drawImage w/ sampling 2021-01-22 22:38:02 +00:00
SkPDFShader.h
SkPDFSubsetFont.cpp Remove ICU check from subset_harfbuzz 2021-09-27 19:17:55 +00:00
SkPDFSubsetFont.h
SkPDFTag.cpp remove unused Arena reset() 2020-08-07 21:31:26 +00:00
SkPDFTag.h remove unused Arena reset() 2020-08-07 21:31:26 +00:00
SkPDFType1Font.cpp Remove SkSpan class template deduction guides 2021-05-11 20:06:29 +00:00
SkPDFType1Font.h
SkPDFTypes.cpp Make SkPDFUnion a better variant. 2020-03-20 17:30:14 +00:00
SkPDFTypes.h Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
SkPDFUnion.h Make SkPDFUnion a better variant. 2020-03-20 17:30:14 +00:00
SkPDFUtils.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
SkPDFUtils.h
SkUUID.h