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/clangparser/clangutils.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/clangparser/clangutils.h')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/clangparser/clangutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangutils.h b/sources/shiboken6/ApiExtractor/clangparser/clangutils.h index 575bb9f07..bb819e61f 100644 --- a/sources/shiboken6/ApiExtractor/clangparser/clangutils.h +++ b/sources/shiboken6/ApiExtractor/clangparser/clangutils.h @@ -68,7 +68,7 @@ CXString getFileNameFromLocation(const CXSourceLocation &location); SourceRange getCursorRange(const CXCursor &cursor); struct Diagnostic { - enum Source { Clang, Other }; + enum Source : std::uint8_t { Clang, Other }; Diagnostic() = default; // Clang |
