mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user