[Lldb-commits] [PATCH] D12388: Silence some MSVC warnings.

Stephane Sezer via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 26 16:56:24 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL246123: Silence some MSVC warnings. (authored by sas).

Changed prior to commit:
  http://reviews.llvm.org/D12388?vs=33275&id=33276#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D12388

Files:
  lldb/trunk/source/Core/SourceManager.cpp

Index: lldb/trunk/source/Core/SourceManager.cpp
===================================================================
--- lldb/trunk/source/Core/SourceManager.cpp
+++ lldb/trunk/source/Core/SourceManager.cpp
@@ -644,14 +644,14 @@
         else
         {
             // Some lines have been populated, start where we last left off
-            assert("Not implemented yet" == NULL);
+            assert("Not implemented yet" && false);
         }
 
     }
     else
     {
         // Calculate all line offsets up to "line"
-        assert("Not implemented yet" == NULL);
+        assert("Not implemented yet" && false);
     }
     return false;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12388.33276.patch
Type: text/x-patch
Size: 650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150826/23e2f3c1/attachment.bin>


More information about the lldb-commits mailing list