diff options
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Symbol/LineEntry.cpp')
-rw-r--r-- | contrib/llvm/tools/lldb/source/Symbol/LineEntry.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm/tools/lldb/source/Symbol/LineEntry.cpp b/contrib/llvm/tools/lldb/source/Symbol/LineEntry.cpp index 10dc552..08a2392 100644 --- a/contrib/llvm/tools/lldb/source/Symbol/LineEntry.cpp +++ b/contrib/llvm/tools/lldb/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 |