[Lldb-commits] [lldb] r137534 - /lldb/trunk/source/Core/ArchSpec.cpp

Greg Clayton gclayton at apple.com
Fri Aug 12 16:32:52 PDT 2011


Author: gclayton
Date: Fri Aug 12 18:32:52 2011
New Revision: 137534

URL: http://llvm.org/viewvc/llvm-project?rev=137534&view=rev
Log:
Fixed an incorrect static analyzer fix.


Modified:
    lldb/trunk/source/Core/ArchSpec.cpp

Modified: lldb/trunk/source/Core/ArchSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ArchSpec.cpp?rev=137534&r1=137533&r2=137534&view=diff
==============================================================================
--- lldb/trunk/source/Core/ArchSpec.cpp (original)
+++ lldb/trunk/source/Core/ArchSpec.cpp Fri Aug 12 18:32:52 2011
@@ -457,7 +457,7 @@
 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))





More information about the lldb-commits mailing list