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

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: 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/IceELFSection.h
diff --git a/src/IceELFSection.h b/src/IceELFSection.h
index a79a9fbbcc95875906f2156b7a201b6b9d1f7709..b5d179e842c8aa3b73bd3960606950590393b884 100644
--- a/src/IceELFSection.h
+++ b/src/IceELFSection.h
@@ -44,9 +44,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