aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/qtdocparser.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2025-10-01 14:55:12 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2025-10-02 11:15:36 +0200
commit7afdba8fa948efcaa8f1537af19eb1513736c146 (patch)
tree4615b9d0a935d5b53b8d11cafe7b6badc5ee9a90 /sources/shiboken6/ApiExtractor/qtdocparser.cpp
parent9893580be85a9113a2c7b1dc874bee9d2aed0399 (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/qtdocparser.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/qtdocparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/qtdocparser.cpp b/sources/shiboken6/ApiExtractor/qtdocparser.cpp
index a9b76d32c..af1781b9a 100644
--- a/sources/shiboken6/ApiExtractor/qtdocparser.cpp
+++ b/sources/shiboken6/ApiExtractor/qtdocparser.cpp
@@ -34,7 +34,7 @@
using namespace Qt::StringLiterals;
-enum { debugFunctionSearch = 0 };
+enum : std::uint8_t { debugFunctionSearch = 0 };
constexpr auto briefStartElement = "<brief>"_L1;
constexpr auto briefEndElement = "</brief>"_L1;