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

Unified Diff: src/IceELFSection.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/IceELFSection.h
diff --git a/src/IceELFSection.h b/src/IceELFSection.h
index 0ee3f03c99eb72c3a99b78cbb1cbb5f589ac90a7..6b999776d55ea93954df5f6a4e2c630be3bd16e6 100644
--- a/src/IceELFSection.h
+++ b/src/IceELFSection.h
@@ -45,9 +45,9 @@ public:
/// Constructs an ELF section, filling in fields that will be known
/// once the *type* of section is decided. Other fields may be updated
/// incrementally or only after the program is completely defined.
- ELFSection(const IceString &Name, Elf64_Word ShType, Elf64_Xword ShFlags,
+ ELFSection(const IceString &MyName, Elf64_Word ShType, Elf64_Xword ShFlags,
Elf64_Xword ShAddralign, Elf64_Xword ShEntsize)
- : Name(Name), Header() {
+ : Name(MyName), Header() {
Header.sh_type = ShType;
Header.sh_flags = ShFlags;
Header.sh_addralign = ShAddralign;

Powered by Google App Engine
This is Rietveld 408576698