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

Unified Diff: src/IceGlobalContext.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/IceGlobalContext.cpp
diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp
index 8742f696de44cec646c4ecd2a476641715900bde..edacc877e6fa56691f1f809b19b59d9e88215548 100644
--- a/src/IceGlobalContext.cpp
+++ b/src/IceGlobalContext.cpp
@@ -24,7 +24,11 @@
#include "IceTargetLowering.h"
#include "IceTimerTree.h"
#include "IceTypes.h"
+
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-parameter"
#include "llvm/Support/Timer.h"
+#pragma clang diagnostic pop
#include <ctype.h> // isdigit(), isupper()
#include <locale> // locale
« no previous file with comments | « src/IceConverter.cpp ('k') | src/IceGlobalInits.h » ('j') | unittest/IceParseInstsTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698