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

Unified Diff: unittest/IceParseInstsTest.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
« no previous file with comments | « unittest/BitcodeMunge.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: unittest/IceParseInstsTest.cpp
diff --git a/unittest/IceParseInstsTest.cpp b/unittest/IceParseInstsTest.cpp
index 74603ceb62999e46cacdc5c18607c603ef01ea64..d58ad5a78472a5eae6d7426db141f1b5e7f11a8e 100644
--- a/unittest/IceParseInstsTest.cpp
+++ b/unittest/IceParseInstsTest.cpp
@@ -9,9 +9,12 @@
#include <string>
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-parameter"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Bitcode/NaCl/NaClBitcodeParser.h"
#include "llvm/Bitcode/NaCl/NaClLLVMBitCodes.h"
+#pragma clang diagnostic pop
#include "BitcodeMunge.h"
#include "unittests/Bitcode/NaClMungeTest.h"
jvoung (off chromium) 2015/06/26 16:11:14 Btw, this "unittests/..." one is also part of the
Jim Stichnoth 2015/06/27 13:35:33 Ah, OK. I actually only applied the pragmas where
« no previous file with comments | « unittest/BitcodeMunge.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698