[Lldb-commits] [lldb] r331406 - Use conventional spelling of always-failing assert.
Richard Smith via lldb-commits
lldb-commits at lists.llvm.org
Wed May 2 15:21:11 PDT 2018
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");
}
}
More information about the lldb-commits
mailing list