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

Unified Diff: src/PNaClTranslator.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/PNaClTranslator.cpp
diff --git a/src/PNaClTranslator.cpp b/src/PNaClTranslator.cpp
index 06b3beedf18b53bc33462cc20e5cbb7b081a8d1b..5382bcc7f8f5a12835e686fde60e5a6b437bc876 100644
--- a/src/PNaClTranslator.cpp
+++ b/src/PNaClTranslator.cpp
@@ -23,6 +23,9 @@
#include "IceGlobalInits.h"
#include "IceInst.h"
#include "IceOperand.h"
+
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-parameter"
#include "llvm/ADT/SmallString.h"
#include "llvm/Bitcode/NaCl/NaClBitcodeDecoders.h"
#include "llvm/Bitcode/NaCl/NaClBitcodeDefs.h"
@@ -32,6 +35,7 @@
#include "llvm/Support/Format.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
+#pragma clang diagnostic pop
namespace {
using namespace llvm;
« no previous file with comments | « src/IceTimerTree.cpp ('k') | unittest/BitcodeMunge.h » ('j') | unittest/IceParseInstsTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698