summaryrefslogtreecommitdiffstats
path: root/LICENSE.GPL3
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-09-02 15:52:07 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-09-07 08:28:09 +0200
commit6c174364491ea6674df64f26934f9418f7f40651 (patch)
tree4b7da9d3c41f43dc07fddf8a48b5b29cca7982ec /LICENSE.GPL3
parent115d99b7de934f30d52fbcf56ee4ff170377dd26 (diff)
Teach syncqt to filter out QT_DEPRECATED_* macros
We already had code that filtered out QT_DEPRECATED_X("text"). But that isn't enough, because, by now, we have a true cornucopia of QT_DEPRECATED_* macros. And only some are called with an argument list. Move the filtering code into the subroutine filterDeprecationMacros, because our filtering is slightly more complex now: - Try to match a QT_DEPRECATED_* macro call. - Try to match balanced parentheses with a recursive regular expression. - Check whether the found balanced parentheses are directly behind QT_DEPRECATED_*, because only then it is the argument list of that macro. - Filter out what we've found. With this patch, syncqt doesn't discard deprecated classes anymore. Task-number: QTBUG-80347 Change-Id: I7872159639be330d5a039c98eac0c5007d9acb93 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'LICENSE.GPL3')
0 files changed, 0 insertions, 0 deletions