summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-08-12 23:32:52 +0000
committerGreg Clayton <gclayton@apple.com>2011-08-12 23:32:52 +0000
commit23aca09205a3934ee0df05f0c09a9fe9b260604d (patch)
tree850618cbd069197b74a0c6d687e9957b5350f1ad
parentb8171ddf3eff2e54407b094ac1142093852623ab (diff)
downloadbcm5719-llvm-23aca09205a3934ee0df05f0c09a9fe9b260604d.tar.gz
bcm5719-llvm-23aca09205a3934ee0df05f0c09a9fe9b260604d.zip
Fixed an incorrect static analyzer fix.
llvm-svn: 137534
-rw-r--r--lldb/source/Core/ArchSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ArchSpec.cpp b/lldb/source/Core/ArchSpec.cpp
index 790c2ebb6e5..9f5e651c41f 100644
--- a/lldb/source/Core/ArchSpec.cpp
+++ b/lldb/source/Core/ArchSpec.cpp
@@ -457,7 +457,7 @@ ArchSpec::SetTriple (const llvm::Triple &triple)
bool
ArchSpec::SetTriple (const char *triple_cstr, Platform *platform)
{
- if (triple_cstr && !triple_cstr[0])
+ if (triple_cstr && triple_cstr[0])
{
llvm::StringRef triple_stref (triple_cstr);
if (triple_stref.startswith (LLDB_ARCH_DEFAULT))
OpenPOWER on IntegriCloud