summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/test/passstuffbyref.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/test/passstuffbyref.cxx')
-rw-r--r--compilerplugins/clang/test/passstuffbyref.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/passstuffbyref.cxx b/compilerplugins/clang/test/passstuffbyref.cxx
index 3f0efb1d106e..d90d6f05ba9f 100644
--- a/compilerplugins/clang/test/passstuffbyref.cxx
+++ b/compilerplugins/clang/test/passstuffbyref.cxx
@@ -11,6 +11,9 @@
#include <o3tl/cow_wrapper.hxx>
#include <vector>
+#pragma clang diagnostic ignored "-Wunknown-warning-option" // for Clang < 13
+#pragma clang diagnostic ignored "-Wunused-but-set-variable"
+
struct S1 {
OUString mv1;
OUString const & get() const { return mv1; }