We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73a63ea commit f80a404Copy full SHA for f80a404
1 file changed
googletest/include/gtest/gtest.h
@@ -52,7 +52,16 @@
52
#include <cstddef>
53
#include <cstdint>
54
#include <limits>
55
+#ifdef __clang__
56
+#pragma clang diagnostic push
57
+// Disable the deprecated-declarations warning before the clang bug
58
+// (https://github.com/llvm/llvm-project/issues/76515) has been fixed
59
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
60
+#endif
61
#include <memory>
62
63
+#pragma clang diagnostic pop
64
65
#include <ostream>
66
#include <set>
67
#include <sstream>
0 commit comments