diff options
| author | Zachary Turner <zturner@google.com> | 2014-08-21 23:56:55 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2014-08-21 23:56:55 +0000 |
| commit | c25146b67b74c30f909b8da5b16c9157d59033c5 (patch) | |
| tree | af0be481694b6add32917e374d213c007ade9ca2 /lldb/source/Expression | |
| parent | c667974b6528a43bbcd6e798386ed97c8a710b42 (diff) | |
| download | bcm5719-llvm-c25146b67b74c30f909b8da5b16c9157d59033c5.tar.gz bcm5719-llvm-c25146b67b74c30f909b8da5b16c9157d59033c5.zip | |
Fixes a few more places where we were manually setting the filename.
llvm-svn: 216247
Diffstat (limited to 'lldb/source/Expression')
| -rw-r--r-- | lldb/source/Expression/ClangExpressionParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index 4d496195700..3b0269ab319 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -312,7 +312,7 @@ ClangExpressionParser::Parse (Stream &stream) FileSpec tmpdir_file_spec; if (HostInfo::GetLLDBPath(lldb::ePathTypeLLDBTempSystemDir, tmpdir_file_spec)) { - tmpdir_file_spec.GetFilename().SetCString("expr.XXXXXX"); + tmpdir_file_spec.AppendPathComponent("expr.XXXXXX"); temp_source_path = std::move(tmpdir_file_spec.GetPath()); } else |

