OSDN Git Service

appendSuffix: don't append a dot when the suffix is empty.
authorMikhail Glushenkov <foldr@codedgers.com>
Tue, 2 Nov 2010 22:18:37 +0000 (22:18 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Tue, 2 Nov 2010 22:18:37 +0000 (22:18 +0000)
commitbd6e0323b94361559e125b07cb244629b0da0281
tree20edcd2bac3083804311db31740c9ecd913e373d
parented724fd43a2388f93460ca397c69948d346ec4db
appendSuffix: don't append a dot when the suffix is empty.

Additionally, move the implementation of appendSuffix to Path.cpp: it is
platform-independent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118089 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/System/Path.h
lib/System/Path.cpp
lib/System/Unix/Path.inc
lib/System/Win32/Path.inc