[Lldb-commits] [lldb] r134284 - /lldb/trunk/include/lldb/API/SBTarget.h

Johnny Chen johnny.chen at apple.com
Fri Jul 1 15:45:43 PDT 2011


Author: johnny
Date: Fri Jul  1 17:45:43 2011
New Revision: 134284

URL: http://llvm.org/viewvc/llvm-project?rev=134284&view=rev
Log:
SWIG doesn't need two methods of the same name 'GetDescription' but differ in
the presence of 'const'.  Ifndef the non-const one out.

Modified:
    lldb/trunk/include/lldb/API/SBTarget.h

Modified: lldb/trunk/include/lldb/API/SBTarget.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBTarget.h?rev=134284&r1=134283&r2=134284&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBTarget.h (original)
+++ lldb/trunk/include/lldb/API/SBTarget.h Fri Jul  1 17:45:43 2011
@@ -350,11 +350,13 @@
 
 #endif
 
+#ifndef SWIG
     bool
-    GetDescription (lldb::SBStream &description, lldb::DescriptionLevel);
+    GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level);
+#endif
 
     bool
-    GetDescription (lldb::SBStream &description, lldb::DescriptionLevel) const;
+    GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level) const;
 
 protected:
     friend class SBAddress;





More information about the lldb-commits mailing list