diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-10-01 14:55:12 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-10-02 11:15:36 +0200 |
| commit | 7afdba8fa948efcaa8f1537af19eb1513736c146 (patch) | |
| tree | 4615b9d0a935d5b53b8d11cafe7b6badc5ee9a90 /sources/shiboken6/ApiExtractor/classdocumentation.h | |
| parent | 9893580be85a9113a2c7b1dc874bee9d2aed0399 (diff) | |
shiboken6: Fix clazy warnings about too-large underlying types of enumerations
Use the types suggested by clang-tidy.
Change-Id: I0bc80d00e75305423caa4254b1383979e89128ec
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/classdocumentation.h')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/classdocumentation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/classdocumentation.h b/sources/shiboken6/ApiExtractor/classdocumentation.h index fc1c4fdd9..7ed5c02f5 100644 --- a/sources/shiboken6/ApiExtractor/classdocumentation.h +++ b/sources/shiboken6/ApiExtractor/classdocumentation.h @@ -47,7 +47,7 @@ using FunctionDocumentationList = QList<FunctionDocumentation>; /// A WebXML/doxygen document struct ClassDocumentation { - enum Type { + enum Type : std::uint8_t { Class, // <class>, class/namespace Header // <header>, grouped global functions/enums }; |
