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

Unified Diff: src/IceConverter.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/IceConverter.cpp
diff --git a/src/IceConverter.cpp b/src/IceConverter.cpp
index 0a885221ca6d02c435f9f76d1e88eb8faeef7cf2..e9533a336444d6f6c86ac14dc17f536379a143e4 100644
--- a/src/IceConverter.cpp
+++ b/src/IceConverter.cpp
@@ -24,6 +24,9 @@
#include "IceTargetLowering.h"
#include "IceTypes.h"
#include "IceTypeConverter.h"
+
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-parameter"
#include "llvm/IR/Constant.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
@@ -31,6 +34,7 @@
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
+#pragma clang diagnostic pop
// TODO(kschimpf): Remove two namespaces being visible at once.
« no previous file with comments | « src/IceCompiler.cpp ('k') | src/IceGlobalContext.cpp » ('j') | unittest/IceParseInstsTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698