diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-08-12 23:32:52 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-08-12 23:32:52 +0000 |
| commit | 23aca09205a3934ee0df05f0c09a9fe9b260604d (patch) | |
| tree | 850618cbd069197b74a0c6d687e9957b5350f1ad | |
| parent | b8171ddf3eff2e54407b094ac1142093852623ab (diff) | |
| download | bcm5719-llvm-23aca09205a3934ee0df05f0c09a9fe9b260604d.tar.gz bcm5719-llvm-23aca09205a3934ee0df05f0c09a9fe9b260604d.zip | |
Fixed an incorrect static analyzer fix.
llvm-svn: 137534
| -rw-r--r-- | lldb/source/Core/ArchSpec.cpp | 2 |
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)) |

