summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/DebugLoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Support/DebugLoc.h')
-rw-r--r--llvm/include/llvm/Support/DebugLoc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/DebugLoc.h b/llvm/include/llvm/Support/DebugLoc.h
index 5c089efc98c..8ef7e4afc44 100644
--- a/llvm/include/llvm/Support/DebugLoc.h
+++ b/llvm/include/llvm/Support/DebugLoc.h
@@ -27,6 +27,9 @@ namespace llvm {
GlobalVariable *CompileUnit;
unsigned Line, Col;
+ DebugLocTuple()
+ : CompileUnit(0), Line(~0U), Col(~0U) {};
+
DebugLocTuple(GlobalVariable *v, unsigned l, unsigned c)
: CompileUnit(v), Line(l), Col(c) {};
OpenPOWER on IntegriCloud