fix warnings when compiling with -Wshadow

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157061 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Kledzik
2012-05-18 18:39:06 +00:00
parent 23da8a061f
commit 18e2f6e94c
3 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@ public:
SMLoc Start, End;
SMRange() {}
SMRange(SMLoc Start, SMLoc End) : Start(Start), End(End) {
SMRange(SMLoc St, SMLoc En) : Start(St), End(En) {
assert(Start.isValid() == End.isValid() &&
"Start and end should either both be valid or both be invalid!");
}