mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
Disable Axivion reports for Qt-FunctionArgsByValueRef
This is an unfortunate combination of clazy-function-args-by-ref and clazy-function-args-by-value. function-args-by-ref fixes are almost always safe to apply. They actually may save an unbounded amount of cycles, and there are typically only a few of them. On the other hand, function-args-by-value is a mixed bag: There are a lot of them and the expected gain is small: It's typically trading one or two register for one register and a "hot" location on the stack. Especially when passing down such objects to a through a sequence of function calls this is not even necessarily a clear win on all architecture. In any case it should be considered that especially in the Qt context changing signatures of public functions is not cheap, if possible at all. Change-Id: I281ea086fb15e0a045316591d9af620b5e730f4a Reviewed-by: Matti Paaso <matti.paaso@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
"_active": true
|
||||
},
|
||||
"Qt-FunctionArgsByValueRef": {
|
||||
"_active": true
|
||||
"_active": false
|
||||
},
|
||||
"Qt-Generic-DuplicateIncludeGuard": {
|
||||
"_active": true
|
||||
|
||||
Reference in New Issue
Block a user