diff options
| author | Greg Clayton <gclayton@apple.com> | 2012-02-03 01:30:30 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2012-02-03 01:30:30 +0000 |
| commit | 402230e63318a62178d674ffcfb9cce7e65caf9c (patch) | |
| tree | 32625e797423a2106910765307af837401671e69 /lldb/source/Interpreter/ScriptInterpreterPython.cpp | |
| parent | 5069aa33b9aab4919322d24ffd9fa24e3b5ccfb6 (diff) | |
| download | bcm5719-llvm-402230e63318a62178d674ffcfb9cce7e65caf9c.tar.gz bcm5719-llvm-402230e63318a62178d674ffcfb9cce7e65caf9c.zip | |
Added support to SBType for getting template arguments from a SBType:
uint32_t
SBType::GetNumberOfTemplateArguments ();
lldb::SBType
SBType::GetTemplateArgumentType (uint32_t idx);
lldb::TemplateArgumentKind
SBType::GetTemplateArgumentKind (uint32_t idx);
Some lldb::TemplateArgumentKind values don't have a corresponding SBType
that will be returned from SBType::GetTemplateArgumentType(). This will
help our data formatters do their job by being able to find out the
type of template params and do smart things with those.
llvm-svn: 149658
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
| -rw-r--r-- | lldb/source/Interpreter/ScriptInterpreterPython.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp index 15e66610ef1..d2d355cac41 100644 --- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp +++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp @@ -326,7 +326,7 @@ ScriptInterpreterPython::EnterSession () // embedded we don't know we should be feeding input to the embedded // interpreter or to the python sys.stdin. We also don't want to let python // play with the real stdin from this process, so we need to close it... - run_string.PutCString ("; sys.stdin.close()"); + //run_string.PutCString ("; sys.stdin.close()"); run_string.PutCString ("')"); PyRun_SimpleString (run_string.GetData()); |

