projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d366e36
)
Use conventional spelling of always-failing assert.
author
Richard Smith
<richard-llvm@metafoo.co.uk>
Wed, 2 May 2018 22:21:11 +0000
(22:21 +0000)
committer
Richard Smith
<richard-llvm@metafoo.co.uk>
Wed, 2 May 2018 22:21:11 +0000
(22:21 +0000)
Fixes -Wstring-conversion warning that was breaking -Werror builds.
llvm-svn: 331406
lldb/source/Core/Module.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Core/Module.cpp
b/lldb/source/Core/Module.cpp
index
94fbc72
..
db198d3
100644
(file)
--- a/
lldb/source/Core/Module.cpp
+++ b/
lldb/source/Core/Module.cpp
@@
-342,7
+342,7
@@
void Module::SetUUID(const lldb_private::UUID &uuid) {
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");
}
}