Skip to content

Commit 221a629

Browse files
Update qt.cfg
1 parent fb5679f commit 221a629

File tree

1 file changed

+37
-21
lines changed

1 file changed

+37
-21
lines changed

cfg/qt.cfg

Lines changed: 37 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
<define name="SLOT(X)" value="#X"/>
6464
<!-- T qAbs(const T &t) -->
6565
<function name="qAbs">
66+
<pure/>
6667
<noreturn>false</noreturn>
6768
<use-retval/>
6869
<arg nr="1" direction="in">
@@ -101,6 +102,7 @@
101102
<!-- quint32 qFloatDistance(float a, float b) -->
102103
<!-- quint64 qFloatDistance(double a, double b) -->
103104
<function name="qFloatDistance">
105+
<pure/>
104106
<noreturn>false</noreturn>
105107
<use-retval/>
106108
<leak-ignore/>
@@ -132,6 +134,7 @@
132134
<!-- bool qFuzzyCompare(double p1, double p2) -->
133135
<!-- bool qFuzzyCompare(float p1, float p2) -->
134136
<function name="qFuzzyCompare">
137+
<pure/>
135138
<noreturn>false</noreturn>
136139
<returnValue type="bool"/>
137140
<use-retval/>
@@ -147,6 +150,7 @@
147150
<!-- bool qFuzzyIsNull(double d) -->
148151
<!-- bool qFuzzyIsNull(float f) -->
149152
<function name="qFuzzyIsNull">
153+
<pure/>
150154
<noreturn>false</noreturn>
151155
<returnValue type="bool"/>
152156
<use-retval/>
@@ -177,6 +181,7 @@
177181
<!-- bool qIsFinite(double d) -->
178182
<!-- bool qIsFinite(float f) -->
179183
<function name="qIsFinite">
184+
<pure/>
180185
<noreturn>false</noreturn>
181186
<returnValue type="bool"/>
182187
<use-retval/>
@@ -189,6 +194,7 @@
189194
<!-- bool qIsInf(double d) -->
190195
<!-- bool qIsInf(float f) -->
191196
<function name="qIsInf">
197+
<pure/>
192198
<noreturn>false</noreturn>
193199
<returnValue type="bool"/>
194200
<use-retval/>
@@ -201,6 +207,7 @@
201207
<!-- bool qIsNaN(double d) -->
202208
<!-- bool qIsNaN(float f) -->
203209
<function name="qIsNaN">
210+
<pure/>
204211
<noreturn>false</noreturn>
205212
<returnValue type="bool"/>
206213
<use-retval/>
@@ -267,6 +274,7 @@
267274
<!-- int qRound(double d) -->
268275
<!-- int qRound(float d) -->
269276
<function name="qRound">
277+
<pure/>
270278
<noreturn>false</noreturn>
271279
<returnValue type="int"/>
272280
<use-retval/>
@@ -278,6 +286,7 @@
278286
<!-- qint64 qRound64(double d) -->
279287
<!-- qint64 qRound64(float d) -->
280288
<function name="qRound64">
289+
<pure/>
281290
<noreturn>false</noreturn>
282291
<returnValue type="qint64"/>
283292
<use-retval/>
@@ -777,7 +786,14 @@
777786
<!-- void QList::append(const T &value) -->
778787
<!-- void QList::append(const QList<T> &value) -->
779788
<!-- QStringList inherits from QList -->
780-
<function name="QList::append,QStringList::append">
789+
<function name="QList::append">
790+
<noreturn>false</noreturn>
791+
<returnValue type="void"/>
792+
<arg nr="1">
793+
<not-uninit/>
794+
</arg>
795+
</function>
796+
<function name="QStringList::append">
781797
<noreturn>false</noreturn>
782798
<returnValue type="void"/>
783799
<arg nr="1" direction="in">
@@ -1604,7 +1620,7 @@
16041620
<function name="QList::prepend,QStringList::prepend">
16051621
<noreturn>false</noreturn>
16061622
<returnValue type="void"/>
1607-
<arg nr="1" direction="in">
1623+
<arg nr="1">
16081624
<not-uninit/>
16091625
</arg>
16101626
</function>
@@ -1628,7 +1644,7 @@
16281644
<function name="QList::push_back,QStringList::push_back">
16291645
<noreturn>false</noreturn>
16301646
<returnValue type="void"/>
1631-
<arg nr="1" direction="in">
1647+
<arg nr="1">
16321648
<not-uninit/>
16331649
</arg>
16341650
</function>
@@ -1646,7 +1662,7 @@
16461662
<function name="QList::push_front,QStringList::push_front">
16471663
<noreturn>false</noreturn>
16481664
<returnValue type="void"/>
1649-
<arg nr="1" direction="in">
1665+
<arg nr="1">
16501666
<not-uninit/>
16511667
</arg>
16521668
</function>
@@ -1709,7 +1725,7 @@
17091725
<function name="QList::removeAll,QStringList::removeAll">
17101726
<noreturn>false</noreturn>
17111727
<returnValue type="int"/>
1712-
<arg nr="1" direction="in">
1728+
<arg nr="1">
17131729
<not-uninit/>
17141730
</arg>
17151731
</function>
@@ -2599,7 +2615,7 @@
25992615
<function name="QBoxLayout::addWidget,QVBoxLayout::addWidget,QHBoxLayout::addWidget">
26002616
<noreturn>false</noreturn>
26012617
<returnValue type="void"/>
2602-
<arg nr="1" direction="in">
2618+
<arg nr="1">
26032619
<not-uninit/>
26042620
</arg>
26052621
<arg nr="2" default="0" direction="in">
@@ -4185,7 +4201,7 @@
41854201
<noreturn>false</noreturn>
41864202
<returnValue type="void"/>
41874203
<leak-ignore/>
4188-
<arg nr="1" direction="in">
4204+
<arg nr="1">
41894205
<not-uninit/>
41904206
</arg>
41914207
</function>
@@ -4207,7 +4223,7 @@
42074223
<use-retval/>
42084224
<leak-ignore/>
42094225
<const/>
4210-
<arg nr="1" direction="in">
4226+
<arg nr="1">
42114227
<not-uninit/>
42124228
</arg>
42134229
</function>
@@ -4229,14 +4245,14 @@
42294245
<returnValue type="bool"/>
42304246
<use-retval/>
42314247
<const/>
4232-
<arg nr="1" direction="in">
4248+
<arg nr="1">
42334249
<not-uninit/>
42344250
</arg>
42354251
</function>
42364252
<!-- QVector<T> &QVector::fill(const T &value, int size = ...) -->
42374253
<function name="QVector::fill,QStack::fill">
42384254
<noreturn>false</noreturn>
4239-
<arg nr="1" direction="in">
4255+
<arg nr="1">
42404256
<not-uninit/>
42414257
</arg>
42424258
<arg nr="2" direction="in" default="-1">
@@ -4251,7 +4267,7 @@
42514267
<use-retval/>
42524268
<leak-ignore/>
42534269
<const/>
4254-
<arg nr="1" direction="in">
4270+
<arg nr="1">
42554271
<not-uninit/>
42564272
</arg>
42574273
<arg nr="2" direction="in" default="">
@@ -4270,7 +4286,7 @@
42704286
<arg nr="2" direction="in">
42714287
<not-uninit/>
42724288
</arg>
4273-
<arg nr="3" direction="in">
4289+
<arg nr="3">
42744290
<not-uninit/>
42754291
</arg>
42764292
</function>
@@ -4281,7 +4297,7 @@
42814297
<use-retval/>
42824298
<leak-ignore/>
42834299
<const/>
4284-
<arg nr="1" direction="in">
4300+
<arg nr="1">
42854301
<not-uninit/>
42864302
</arg>
42874303
<arg nr="2" direction="in" default="-1">
@@ -4295,7 +4311,7 @@
42954311
<noreturn>false</noreturn>
42964312
<returnValue type="void"/>
42974313
<leak-ignore/>
4298-
<arg nr="1" direction="in">
4314+
<arg nr="1">
42994315
<not-uninit/>
43004316
</arg>
43014317
</function>
@@ -4317,7 +4333,7 @@
43174333
<function name="QVector::removeAll,QStack::removeAll">
43184334
<noreturn>false</noreturn>
43194335
<returnValue type="int"/>
4320-
<arg nr="1" direction="in">
4336+
<arg nr="1">
43214337
<not-uninit/>
43224338
</arg>
43234339
</function>
@@ -4337,7 +4353,7 @@
43374353
<not-uninit/>
43384354
<valid>0:</valid>
43394355
</arg>
4340-
<arg nr="2" direction="in">
4356+
<arg nr="2">
43414357
<not-uninit/>
43424358
</arg>
43434359
</function>
@@ -4376,7 +4392,7 @@
43764392
<use-retval/>
43774393
<leak-ignore/>
43784394
<const/>
4379-
<arg nr="1" direction="in">
4395+
<arg nr="1">
43804396
<not-uninit/>
43814397
</arg>
43824398
</function>
@@ -4437,7 +4453,7 @@
44374453
<noreturn>false</noreturn>
44384454
<returnValue type="void"/>
44394455
<leak-ignore/>
4440-
<arg nr="1" direction="in">
4456+
<arg nr="1">
44414457
<not-uninit/>
44424458
</arg>
44434459
</function>
@@ -4448,7 +4464,7 @@
44484464
<returnValue type="int"/>
44494465
<use-retval/>
44504466
<const/>
4451-
<arg nr="1" direction="in" default="">
4467+
<arg nr="1">
44524468
<not-uninit/>
44534469
</arg>
44544470
</function>
@@ -4459,7 +4475,7 @@
44594475
<use-retval/>
44604476
<leak-ignore/>
44614477
<const/>
4462-
<arg nr="1" direction="in">
4478+
<arg nr="1">
44634479
<not-uninit/>
44644480
</arg>
44654481
</function>
@@ -4488,7 +4504,7 @@
44884504
<use-retval/>
44894505
<leak-ignore/>
44904506
<const/>
4491-
<arg nr="1" direction="in">
4507+
<arg nr="1">
44924508
<not-uninit/>
44934509
</arg>
44944510
</function>

0 commit comments

Comments
 (0)