[Lldb-commits] [lldb] r113328 - in /lldb/trunk/include/lldb: Core/Debugger.h Target/Process.h

Jim Ingham jingham at apple.com
Tue Sep 7 18:17:37 PDT 2010


Author: jingham
Date: Tue Sep  7 20:17:36 2010
New Revision: 113328

URL: http://llvm.org/viewvc/llvm-project?rev=113328&view=rev
Log:
The functions that return the static ConstString names of the settings should be static
as well.

Modified:
    lldb/trunk/include/lldb/Core/Debugger.h
    lldb/trunk/include/lldb/Target/Process.h

Modified: lldb/trunk/include/lldb/Core/Debugger.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Debugger.h?rev=113328&r1=113327&r2=113328&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Debugger.h (original)
+++ lldb/trunk/include/lldb/Core/Debugger.h Tue Sep  7 20:17:36 2010
@@ -77,10 +77,10 @@
     const ConstString
     CreateInstanceName ();
 
-    const ConstString &
+    static const ConstString &
     PromptVarName ();
 
-    const ConstString &
+    static const ConstString &
     ScriptLangVarName ();
   
 private:

Modified: lldb/trunk/include/lldb/Target/Process.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/Process.h?rev=113328&r1=113327&r2=113328&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/Process.h (original)
+++ lldb/trunk/include/lldb/Target/Process.h Tue Sep  7 20:17:36 2010
@@ -77,25 +77,25 @@
     const ConstString
     CreateInstanceName ();
 
-    const ConstString &
+    static const ConstString &
     RunArgsVarName ();
 
-    const ConstString &
+    static const ConstString &
     EnvVarsVarName ();
 
-    const ConstString &
+    static const ConstString &
     InputPathVarName ();
 
-    const ConstString &
+    static const ConstString &
     OutputPathVarName ();
 
-    const ConstString &
+    static const ConstString &
     ErrorPathVarName ();
 
-    const ConstString &
+    static const ConstString &
     PluginVarName ();
 
-    const ConstString &
+    static const ConstString &
     DisableASLRVarName();
 
 





More information about the lldb-commits mailing list