summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/preprocessor.h
diff options
context:
space:
mode:
authorAhmad Samir <[email protected]>2023-05-23 16:52:27 +0300
committerQt Cherry-pick Bot <[email protected]>2023-06-20 07:43:19 +0000
commitce8dd984043b00a4238807ae31d18f54b285db8c (patch)
tree71f8e4e123251eadd4bc4f720640c9c463ac27c0 /src/tools/moc/preprocessor.h
parent1a3305114618c9e69b19f48c82b74cc65cc39eea (diff)
Moc: port to qsizetype
Change-Id: Ibacc9b4bd6c26b890a09f689c730286c2aa0894c Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Thiago Macieira <[email protected]> (cherry picked from commit 2271ee6b4b5b89a5f77c4260333921bd9c3e91af) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Diffstat (limited to 'src/tools/moc/preprocessor.h')
-rw-r--r--src/tools/moc/preprocessor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/moc/preprocessor.h b/src/tools/moc/preprocessor.h
index 84186fec9e2..624b00ff105 100644
--- a/src/tools/moc/preprocessor.h
+++ b/src/tools/moc/preprocessor.h
@@ -48,8 +48,9 @@ public:
void substituteUntilNewline(Symbols &substituted);
static Symbols macroExpandIdentifier(Preprocessor *that, SymbolStack &symbols, int lineNum, QByteArray *macroName);
- static void macroExpand(Symbols *into, Preprocessor *that, const Symbols &toExpand, int &index, int lineNum, bool one,
- const QSet<QByteArray> &excludeSymbols = QSet<QByteArray>());
+ static void macroExpand(Symbols *into, Preprocessor *that, const Symbols &toExpand,
+ qsizetype &index, int lineNum, bool one,
+ const QSet<QByteArray> &excludeSymbols = QSet<QByteArray>());
int evaluateCondition();