diff options
author | Ed Maste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 |
commit | f21a844f60ae6c74fcf1fddca32461acce3c1ee0 (patch) | |
tree | 56d79f94966870db1cecd65a7264510a25fd1cba /source/Symbol/LineEntry.cpp | |
parent | 37d22554be9f5a677dad2a95b7ef22fe59c66a8a (diff) |
Notes
Diffstat (limited to 'source/Symbol/LineEntry.cpp')
-rw-r--r-- | source/Symbol/LineEntry.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Symbol/LineEntry.cpp b/source/Symbol/LineEntry.cpp index 10dc552ea01a6..08a2392e1136c 100644 --- a/source/Symbol/LineEntry.cpp +++ b/source/Symbol/LineEntry.cpp @@ -17,7 +17,7 @@ using namespace lldb_private; LineEntry::LineEntry() : range(), file(), - line(0), + line(LLDB_INVALID_LINE_NUMBER), column(0), is_start_of_statement(0), is_start_of_basic_block(0), @@ -58,7 +58,7 @@ LineEntry::Clear() { range.Clear(); file.Clear(); - line = 0; + line = LLDB_INVALID_LINE_NUMBER; column = 0; is_start_of_statement = 0; is_start_of_basic_block = 0; @@ -71,7 +71,7 @@ LineEntry::Clear() bool LineEntry::IsValid() const { - return range.GetBaseAddress().IsValid() && line != 0; + return range.GetBaseAddress().IsValid() && line != LLDB_INVALID_LINE_NUMBER; } bool |