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

Unified Diff: src/IceClFlagsExtra.h

Issue 1575873006: Subzero: Fix g++ warnings. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 4 years, 11 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 | « src/IceClFlags.cpp ('k') | src/IceCompileServer.cpp » ('j') | src/IceUtils.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceClFlagsExtra.h
diff --git a/src/IceClFlagsExtra.h b/src/IceClFlagsExtra.h
index 902aa44ea48f1fc3ae4c3d035923b6d5b121ed23..36eac017bc8f29efec0d749e978fbc2eb669371c 100644
--- a/src/IceClFlagsExtra.h
+++ b/src/IceClFlagsExtra.h
@@ -17,11 +17,17 @@
#include "IceDefs.h"
+#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wredundant-move"
+#endif // __clang__
+
#include "llvm/IRReader/IRReader.h"
+
+#ifdef __clang__
#pragma clang diagnostic pop
+#endif // __clang__
namespace Ice {
« no previous file with comments | « src/IceClFlags.cpp ('k') | src/IceCompileServer.cpp » ('j') | src/IceUtils.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698