Use positive values since the value type is unsigned. Fixes a warning on the

llvm-gcc-native-mingw32 builder.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129457 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2011-04-13 18:46:22 +00:00
parent 119af20c7b
commit b90e1d5aaf

View File

@ -31,7 +31,7 @@ namespace llvm {
/// not equal to the tombstone key or DebugLoc().
static DebugLoc getEmptyKey() {
DebugLoc DL;
DL.LineCol = -1;
DL.LineCol = 1;
return DL;
}
@ -39,7 +39,7 @@ namespace llvm {
/// is not equal to the empty key or DebugLoc().
static DebugLoc getTombstoneKey() {
DebugLoc DL;
DL.LineCol = -2;
DL.LineCol = 2;
return DL;
}