summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/using-decl-1.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-10-20 00:17:39 +0000
committerGreg Clayton <gclayton@apple.com>2015-10-20 00:17:39 +0000
commit5b94e11873b93539befa9f10b9e7f11e3844dd30 (patch)
treeea47860d1391b58dc805acfe50a2e9effbb369ba /clang/test/SemaCXX/using-decl-1.cpp
parent7869148c4741f30893159e028ad991bd2e0a5d63 (diff)
downloadbcm5719-llvm-5b94e11873b93539befa9f10b9e7f11e3844dd30.tar.gz
bcm5719-llvm-5b94e11873b93539befa9f10b9e7f11e3844dd30.zip
When calling FileSpec::AppendPathComponent() we don't need to include "." in the path if m_filename is set to exactly '.'. Previously this would cause a FileSpec object that looked like:
m_directory = "/tmp" m_filename = "." To look like: m_directory = "/tmp/." m_filename = "foo.txt" if "foo.txt" was appended to it. With this fix it will be: m_directory = "/tmp" m_filename = "foo.txt" llvm-svn: 250770
Diffstat (limited to 'clang/test/SemaCXX/using-decl-1.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud