Author: rsmith
Date: Wed May 2 15:21:11 2018
New Revision: 331406
URL: http://llvm.org/viewvc/llvm-project?rev=331406&view=rev
Log:
Use conventional spelling of always-failing assert.
Fixes -Wstring-conversion warning that was breaking -Werror builds.
Modified:
lldb/trunk/source/Core/Module.cpp
Modified: lldb/trunk/source/Core/Module.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Module.cpp?rev=331406&r1=331405&r2=331406&view=diff
==============================================================================
--- lldb/trunk/source/Core/Module.cpp (original)
+++ lldb/trunk/source/Core/Module.cpp Wed May 2 15:21:11 2018
@@ -342,7 +342,7 @@ void Module::SetUUID(const lldb_private:
m_uuid = uuid;
m_did_set_uuid = true;
} else {
- lldbassert(!"Attempting to overwrite the existing module UUID");
+ lldbassert(0 && "Attempting to overwrite the existing module UUID");
}
}
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits