Skip to content

Commit e3e26dc

Browse files
committed
[llvm] Remove extra ';' outside of a function (NFC)
/llvm-project/llvm/lib/Support/Timer.cpp:565:74: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi] static bool mtg::TrackSpace() { return ManagedTimerGlobals->TrackSpace; }; ^ 1 error generated.
1 parent 52c338d commit e3e26dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Support/Timer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ static std::string &mtg::LibSupportInfoOutputFilename() {
562562
static const std::string &mtg::InfoOutputFilename() {
563563
return ManagedTimerGlobals->InfoOutputFilename.getValue();
564564
}
565-
static bool mtg::TrackSpace() { return ManagedTimerGlobals->TrackSpace; };
565+
static bool mtg::TrackSpace() { return ManagedTimerGlobals->TrackSpace; }
566566
static bool mtg::SortTimers() { return ManagedTimerGlobals->SortTimers; }
567567
static SignpostEmitter &mtg::Signposts() {
568568
return ManagedTimerGlobals->Signposts();

0 commit comments

Comments
 (0)