summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-05-02 22:21:11 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-05-02 22:21:11 +0000
commitfbe748ae868feddf8dd7169ce89206bc29bbb11c (patch)
tree82f103cfc6d85daf4dfb3f0b61d7f23498e217aa
parentd366e36bbfea7a793d38d2e81e8eb389e98bd1b2 (diff)
downloadbcm5719-llvm-fbe748ae868feddf8dd7169ce89206bc29bbb11c.tar.gz
bcm5719-llvm-fbe748ae868feddf8dd7169ce89206bc29bbb11c.zip
Use conventional spelling of always-failing assert.
Fixes -Wstring-conversion warning that was breaking -Werror builds. llvm-svn: 331406
-rw-r--r--lldb/source/Core/Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp
index 94fbc72a5a6..db198d3a9a0 100644
--- 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");
}
}
OpenPOWER on IntegriCloud