aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/DebugLoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/DebugLoc.h')
-rw-r--r--include/llvm/Support/DebugLoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/DebugLoc.h b/include/llvm/Support/DebugLoc.h
index 8d19e30..98a05a4 100644
--- a/include/llvm/Support/DebugLoc.h
+++ b/include/llvm/Support/DebugLoc.h
@@ -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;
}