Remove warnings about unused parameters and shadowed variables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51266 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2008-05-19 20:15:12 +00:00
parent 9d60ba9d28
commit 13d57320bd
18 changed files with 95 additions and 97 deletions

View File

@ -112,11 +112,11 @@ public:
/// leads to undefined behavior.
///
bool isConstant() const { return isConstantGlobal; }
void setConstant(bool Value) { isConstantGlobal = Value; }
void setConstant(bool Val) { isConstantGlobal = Val; }
/// If the value is "Thread Local", its value isn't shared by the threads.
bool isThreadLocal() const { return isThreadLocalSymbol; }
void setThreadLocal(bool Value) { isThreadLocalSymbol = Value; }
void setThreadLocal(bool Val) { isThreadLocalSymbol = Val; }
/// removeFromParent - This method unlinks 'this' from the containing module,
/// but does not delete it.