diff options
| author | Jim Ingham <jingham@apple.com> | 2013-09-27 20:59:37 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2013-09-27 20:59:37 +0000 |
| commit | fb6fc0dd905233dc7af5aef8f85f2fd3e8ef1a26 (patch) | |
| tree | 292082d95731a2419e260ceb4810912ea76e2adb /lldb/source/Expression/ClangFunction.cpp | |
| parent | 6dafc4203da5a3f4c74afe17f23e7e50f8154aee (diff) | |
| download | bcm5719-llvm-fb6fc0dd905233dc7af5aef8f85f2fd3e8ef1a26.tar.gz bcm5719-llvm-fb6fc0dd905233dc7af5aef8f85f2fd3e8ef1a26.zip | |
Convert ClangASTType::GetTypeName over to return a ConstString to be consistent with
the other "Get*TypeName" functions.
llvm-svn: 191556
Diffstat (limited to 'lldb/source/Expression/ClangFunction.cpp')
| -rw-r--r-- | lldb/source/Expression/ClangFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangFunction.cpp b/lldb/source/Expression/ClangFunction.cpp index 008ce4a1cbb..9784a578a50 100644 --- a/lldb/source/Expression/ClangFunction.cpp +++ b/lldb/source/Expression/ClangFunction.cpp @@ -111,7 +111,7 @@ ClangFunction::CompileFunction (Stream &errors) // FIXME: How does clang tell us there's no return value? We need to handle that case. unsigned num_errors = 0; - std::string return_type_str (m_function_return_type.GetTypeName()); + std::string return_type_str (m_function_return_type.GetTypeName().AsCString("")); // Cons up the function we're going to wrap our call in, then compile it... // We declare the function "extern "C"" because the compiler might be in C++ |

