diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-08-31 16:23:44 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2022-09-01 15:55:48 +0200 |
commit | f742e97665c0748ca3681ff93c23cce8d2ce27b3 (patch) | |
tree | b7275ef8b92a605ca0b90f8ecaa3aab22268447d /src/linguist | |
parent | bf9844f40b1e83b4c4bfb3b1b495b36fce078ec5 (diff) | |
download | qttools-f742e97665c0748ca3681ff93c23cce8d2ce27b3.tar.gz |
lupdate: Fix build with llvm < 10.0
Pick-to: 6.4
Change-Id: I680861e69c04b32a660d3b087a1e4d1c1428327f
Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/linguist')
-rw-r--r-- | src/linguist/lupdate/clangtoolastreader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linguist/lupdate/clangtoolastreader.cpp b/src/linguist/lupdate/clangtoolastreader.cpp index 257d823d8..2510212a7 100644 --- a/src/linguist/lupdate/clangtoolastreader.cpp +++ b/src/linguist/lupdate/clangtoolastreader.cpp @@ -437,6 +437,7 @@ void LupdateVisitor::processIsolatedComments(const clang::FileID file) tmp.emplace_back(commentInFile.second); clang::ArrayRef<clang::RawComment *> rawComments = tmp; #else + Q_UNSED(file) clang::ArrayRef<clang::RawComment *> rawComments = m_context->getRawCommentList().getComments(); #endif |