Rename instance variables, parameter argument names to eliminate a bunch of compilation warnings with -Wshadow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53970 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2008-07-24 00:08:56 +00:00
parent 7fbad27cfb
commit 1bf9a18834
4 changed files with 245 additions and 240 deletions

View File

@@ -58,7 +58,7 @@ protected:
/// This field is initialized to zero by the ctor.
unsigned short SubclassData;
private:
PATypeHolder Ty;
PATypeHolder VTy;
Use *UseList;
friend class ValueSymbolTable; // Allow ValueSymbolTable to directly mod Name.
@@ -83,7 +83,7 @@ public:
/// All values are typed, get the type of this value.
///
inline const Type *getType() const { return Ty; }
inline const Type *getType() const { return VTy; }
// All values can potentially be named...
inline bool hasName() const { return Name != 0; }
@@ -222,7 +222,7 @@ public:
/// getRawType - This should only be used to implement the vmcore library.
///
const Type *getRawType() const { return Ty.getRawType(); }
const Type *getRawType() const { return VTy.getRawType(); }
/// stripPointerCasts - This method strips off any unneeded pointer
/// casts from the specified value, returning the original uncasted value.