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

Unified Diff: src/IceClFlags.cpp

Issue 1217433002: Subzero: Enable errors for unused parameters. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 6 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
Index: src/IceClFlags.cpp
diff --git a/src/IceClFlags.cpp b/src/IceClFlags.cpp
index cefd17bf64f9e8c6d212e385cf9b25bcc88897a7..1a5d259f6bf2c7f0bda0b46bbc43d686ee1c3dbc 100644
--- a/src/IceClFlags.cpp
+++ b/src/IceClFlags.cpp
@@ -16,7 +16,11 @@
#include "IceClFlags.h"
#include "IceClFlagsExtra.h"
+
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-parameter"
#include "llvm/Support/CommandLine.h"
+#pragma clang diagnostic pop
namespace cl = llvm::cl;
« no previous file with comments | « Makefile.standalone ('k') | src/IceClFlagsExtra.h » ('j') | unittest/IceParseInstsTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698