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

Unified Diff: src/IceAPInt.h

Issue 1221643012: Subzero: Add -Wshadow to the build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Change the previous underscore naming style 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/IceAPInt.h
diff --git a/src/IceAPInt.h b/src/IceAPInt.h
index 01ce280991be1410e48dde299671b9bd44d67fb7..4672e66e0972c19858c5a8da9f5b36b7cd4514c7 100644
--- a/src/IceAPInt.h
+++ b/src/IceAPInt.h
@@ -31,7 +31,7 @@ public:
/// Bits in an (internal) value.
static const SizeT APINT_BITS_PER_WORD = sizeof(uint64_t) * CHAR_BIT;
- APInt(SizeT Bits, uint64_t Val) : BitWidth(Bits), Val(Val) {
+ APInt(SizeT Bits, uint64_t MyVal) : BitWidth(Bits), Val(MyVal) {
assert(Bits && "bitwidth too small");
assert(Bits <= APINT_BITS_PER_WORD && "bitwidth too big");
clearUnusedBits();

Powered by Google App Engine
This is Rietveld 408576698