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 | 358607dfa3f7d59f78024393828631bc34b2a94c (patch) | |
| tree | 4ee364b6157374b50e66185b3310befc3bb8cfca | |
| parent | b53593d320cf4baade61e5e1cf9fdabefd8b6aa3 (diff) | |
| download | bcm5719-llvm-358607dfa3f7d59f78024393828631bc34b2a94c.tar.gz bcm5719-llvm-358607dfa3f7d59f78024393828631bc34b2a94c.zip  | |
Trailing whitespace.
llvm-svn: 86347
| -rw-r--r-- | llvm/lib/Support/Timer.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp index dd58d1f68b4..1a2d4d43622 100644 --- a/llvm/lib/Support/Timer.cpp +++ b/llvm/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;  | 

