Skip to content

Commit 61e51a7

Browse files
committed
Address reviewer comments.
1 parent c571747 commit 61e51a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Driver/Compilation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ int Compilation::ExecuteCommand(const Command &C,
202202
// us knowing about it.
203203
llvm::TimeRecord StartTime;
204204
if (getArgs().hasArg(options::OPT_time)) {
205-
StartTime = llvm::TimeRecord::getCurrentTime(true);
205+
StartTime = llvm::TimeRecord::getCurrentTime(/*Start=*/true);
206206
}
207207

208208
std::string Error;
@@ -212,7 +212,7 @@ int Compilation::ExecuteCommand(const Command &C,
212212
PostCallback(C, Res);
213213

214214
if (getArgs().hasArg(options::OPT_time)) {
215-
llvm::TimeRecord Time = llvm::TimeRecord::getCurrentTime(false);
215+
llvm::TimeRecord Time = llvm::TimeRecord::getCurrentTime(/*Start=*/false);
216216
Time -= StartTime;
217217
llvm::StringRef Name = llvm::sys::path::filename(C.getExecutable());
218218
llvm::errs() << "# " << Name << " "

0 commit comments

Comments
 (0)