summaryrefslogtreecommitdiff
path: root/src/qdoc/clangcodeparser.cpp
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2022-08-16 16:13:57 +0200
committerIvan Solovev <ivan.solovev@qt.io>2022-08-23 23:31:15 +0200
commit520f2d21e5f9aee8704aba0011c9695afd8e5522 (patch)
treeb82a57df1dbac0ebb46ae2706243cfb96fd4f916 /src/qdoc/clangcodeparser.cpp
parent9ebd62831f1d3b2c314aebf416ca69f98955af2a (diff)
downloadqttools-520f2d21e5f9aee8704aba0011c9695afd8e5522.tar.gz
Use QT_DISABLE_DEPRECATED_UP_TO instead of QT_DISABLE_DEPRECATED_BEFORE
Task-number: QTBUG-104944 Change-Id: I91efbdf9fb48ca3c6ed36960065a63c4a90ae5bc Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
-rw-r--r--src/qdoc/clangcodeparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp
index 7a2ea72a7..234157141 100644
--- a/src/qdoc/clangcodeparser.cpp
+++ b/src/qdoc/clangcodeparser.cpp
@@ -1178,7 +1178,7 @@ static const char *defaultArgs_[] = {
#endif
"-DQ_QDOC",
"-DQ_CLANG_QDOC",
- "-DQT_DISABLE_DEPRECATED_BEFORE=0",
+ "-DQT_DISABLE_DEPRECATED_UP_TO=0",
"-DQT_ANNOTATE_CLASS(type,...)=static_assert(sizeof(#__VA_ARGS__),#type);",
"-DQT_ANNOTATE_CLASS2(type,a1,a2)=static_assert(sizeof(#a1,#a2),#type);",
"-DQT_ANNOTATE_FUNCTION(a)=__attribute__((annotate(#a)))",