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

Unified Diff: src/IceDefs.h

Issue 1221643012: Subzero: Add -Wshadow to the build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 5 years, 5 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/IceDefs.h
diff --git a/src/IceDefs.h b/src/IceDefs.h
index 17e2fb14618c9dba4da24107eda08fecab5a164e..2118dd6ccdd78f47e221f752c1dee6c1b7c43d68 100644
--- a/src/IceDefs.h
+++ b/src/IceDefs.h
@@ -19,6 +19,9 @@
#include "IceBuildDefs.h" // TODO(stichnot): move into individual files
#include "IceTLS.h"
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-parameter"
+#pragma clang diagnostic ignored "-Wshadow"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/ilist.h"
@@ -31,6 +34,7 @@
#include "llvm/Support/Casting.h"
#include "llvm/Support/ELF.h"
#include "llvm/Support/raw_ostream.h"
+#pragma clang diagnostic pop
#include <cassert>
#include <cstdint>

Powered by Google App Engine
This is Rietveld 408576698