summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-08-21 23:56:55 +0000
committerZachary Turner <zturner@google.com>2014-08-21 23:56:55 +0000
commitc25146b67b74c30f909b8da5b16c9157d59033c5 (patch)
treeaf0be481694b6add32917e374d213c007ade9ca2 /lldb/source/Expression
parentc667974b6528a43bbcd6e798386ed97c8a710b42 (diff)
downloadbcm5719-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.cpp2
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
OpenPOWER on IntegriCloud