[TableGen] Fix missing braces in if statement
authorPaul C. Anagnostopoulos <paul@windfall.com>
Sat, 14 Nov 2020 17:37:48 +0000 (12:37 -0500)
committerPaul C. Anagnostopoulos <paul@windfall.com>
Sat, 14 Nov 2020 17:38:44 +0000 (12:38 -0500)
llvm/lib/TableGen/Record.cpp

index 221f74f..43b906e 100644 (file)
@@ -2608,9 +2608,10 @@ void RecordKeeper::startBackendTimer(StringRef Name) {
 
 void RecordKeeper::stopBackendTimer() {
   if (TimingGroup) {
-    if (BackendTimer)
+    if (BackendTimer) {
       stopTimer();
       BackendTimer = false;
+    }
   }
 }