[Lldb-commits] [lldb] r139761 - /lldb/trunk/include/lldb/Core/ArchSpec.h

Jim Ingham jingham at apple.com
Wed Sep 14 18:07:28 PDT 2011


Author: jingham
Date: Wed Sep 14 20:07:28 2011
New Revision: 139761

URL: http://llvm.org/viewvc/llvm-project?rev=139761&view=rev
Log:
Fix ArchSpec::operator== to take the Triple into account as well as the Core.  Also make the constructors explicit.

Modified:
    lldb/trunk/include/lldb/Core/ArchSpec.h

Modified: lldb/trunk/include/lldb/Core/ArchSpec.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ArchSpec.h?rev=139761&r1=139760&r2=139761&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ArchSpec.h (original)
+++ lldb/trunk/include/lldb/Core/ArchSpec.h Wed Sep 14 20:07:28 2011
@@ -112,7 +112,9 @@
     /// Constructs an ArchSpec with properties consistent with the given
     /// Triple.
     //------------------------------------------------------------------
+    explicit 
     ArchSpec (const llvm::Triple &triple);
+    explicit 
     ArchSpec (const char *triple_cstr, Platform *platform);
     //------------------------------------------------------------------
     /// Constructor over architecture name.
@@ -120,6 +122,7 @@
     /// Constructs an ArchSpec with properties consistent with the given
     /// object type and architecture name.
     //------------------------------------------------------------------
+    explicit 
     ArchSpec (ArchitectureType arch_type,
               uint32_t cpu_type,
               uint32_t cpu_subtype);





More information about the lldb-commits mailing list