Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: webrtc/test/gmock.h

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/test/frame_generator_unittest.cc ('k') | webrtc/test/gtest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/gmock.h
diff --git a/webrtc/modules/audio_coding/neteq/packet.cc b/webrtc/test/gmock.h
similarity index 64%
copy from webrtc/modules/audio_coding/neteq/packet.cc
copy to webrtc/test/gmock.h
index 8a19fe4d5923d5e22a5b485600c6da0c5f3856ba..bc12fb91d1d49e8528e5a1b0c648b105b5875211 100644
--- a/webrtc/modules/audio_coding/neteq/packet.cc
+++ b/webrtc/test/gmock.h
@@ -8,12 +8,13 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/modules/audio_coding/neteq/packet.h"
+#ifndef WEBRTC_TEST_GMOCK_H_
+#define WEBRTC_TEST_GMOCK_H_
-namespace webrtc {
+#include "webrtc/base/ignore_wundef.h"
-Packet::Packet() = default;
+RTC_PUSH_IGNORING_WUNDEF()
+#include "testing/gmock/include/gmock/gmock.h"
+RTC_POP_IGNORING_WUNDEF()
-Packet::~Packet() = default;
-
-} // namespace webrtc
+#endif // WEBRTC_TEST_GMOCK_H_
« no previous file with comments | « webrtc/test/frame_generator_unittest.cc ('k') | webrtc/test/gtest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698