diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-11-07 06:33:12 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-11-07 06:33:12 +0000 |
commit | c11e84d3e7a432449d453b51b567f2fc5db4e8c0 (patch) | |
tree | 5de57f9fae796945adb91a6b2b0a9c4b4b581541 | |
parent | 4e2211112e388ebd9ba33fe08e4fbaeca8310ea5 (diff) |
Trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86347 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/Timer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index dd58d1f68b..1a2d4d4362 100644 --- a/lib/Support/Timer.cpp +++ b/lib/Support/Timer.cpp @@ -66,7 +66,7 @@ static TimerGroup *getDefaultTimerGroup() { } llvm_release_global_lock(); } - + return tmp; } @@ -182,13 +182,13 @@ void Timer::sum(const Timer &T) { Lock.acquire(); T.Lock.acquire(); } - + Elapsed += T.Elapsed; UserTime += T.UserTime; SystemTime += T.SystemTime; MemUsed += T.MemUsed; PeakMem += T.PeakMem; - + if (&T < this) { T.Lock.release(); Lock.release(); @@ -287,7 +287,7 @@ void Timer::print(const Timer &Total, raw_ostream &OS) { Lock.acquire(); Total.Lock.acquire(); } - + if (Total.UserTime) printVal(UserTime, Total.UserTime, OS); if (Total.SystemTime) @@ -310,7 +310,7 @@ void Timer::print(const Timer &Total, raw_ostream &OS) { OS << Name << "\n"; Started = false; // Once printed, don't print again - + if (&Total < this) { Total.Lock.release(); Lock.release(); @@ -329,13 +329,13 @@ llvm::GetLibSupportInfoOutputFile() { if (LibSupportInfoOutputFilename == "-") return &outs(); - + std::string Error; raw_ostream *Result = new raw_fd_ostream(LibSupportInfoOutputFilename.c_str(), Error, raw_fd_ostream::F_Append); if (Error.empty()) return Result; - + errs() << "Error opening info-output-file '" << LibSupportInfoOutputFilename << " for appending!\n"; delete Result; |