Skip to content

Commit 29d6540

Browse files
committed
[clang-doc] address pr comments
1 parent 66ed0cc commit 29d6540

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang-tools-extra/clang-doc/tool/ClangDocMain.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Example usage for a project using a compile commands database:
239239
if (FTimeTrace)
240240
llvm::timeTraceProfilerInitialize(200, "clang-doc");
241241

242-
llvm::TimeTraceScope("main", "clang-doc");
242+
llvm::TimeTraceScope("main");
243243

244244
// Fail early if an invalid format was provided.
245245
std::string Format = getFormatString();
@@ -400,7 +400,6 @@ Example usage for a project using a compile commands database:
400400
llvm::timeTraceProfilerWrite(OS);
401401
else
402402
return 1;
403-
404403
}
405404
return 0;
406405
}

0 commit comments

Comments
 (0)