diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-12-13 23:16:15 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-12-13 23:16:15 +0000 |
commit | faebf11a3468767bb702b8e9fca98237f1d3a126 (patch) | |
tree | 2f0341dc854651eaa3934e4f1d3f8c0c50ab7c86 /lib/Support/PathV2.cpp | |
parent | 863d2af9477e331955a9bee8be1969ce658b59b5 (diff) |
Cleanup whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/PathV2.cpp')
-rw-r--r-- | lib/Support/PathV2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Support/PathV2.cpp b/lib/Support/PathV2.cpp index 0c145ab4f1..9cf16dab38 100644 --- a/lib/Support/PathV2.cpp +++ b/lib/Support/PathV2.cpp @@ -492,7 +492,7 @@ bool is_separator(char value) { void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result) { result.clear(); - + // Check whether the temporary directory is specified by an environment // variable. const char *EnvironmentVariable; @@ -505,7 +505,7 @@ void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result) { result.append(RequestedDir, RequestedDir + strlen(RequestedDir)); return; } - + // Fall back to a system default. const char *DefaultResult; #ifdef LLVM_ON_WIN32 @@ -519,7 +519,7 @@ void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result) { #endif result.append(DefaultResult, DefaultResult + strlen(DefaultResult)); } - + bool has_root_name(const Twine &path) { SmallString<128> path_storage; StringRef p = path.toStringRef(path_storage); |