================
@@ -282,12 +283,12 @@ TimerGroup::TimerGroup(StringRef Name, StringRef 
Description,
   TimerGroupList = this;
 }
 
-TimerGroup::TimerGroup(StringRef Name, StringRef Description)
-    : TimerGroup(Name, Description, timerLock()) {}
+TimerGroup::TimerGroup(StringRef Name, StringRef Description, bool PrintOnExit)
+    : TimerGroup(Name, Description, timerLock(), PrintOnExit) {}
 
 TimerGroup::TimerGroup(StringRef Name, StringRef Description,
                        const StringMap<TimeRecord> &Records)
-    : TimerGroup(Name, Description) {
+    : TimerGroup(Name, Description, /*PrintOnExit=*/false) {
----------------
steakhal wrote:

Should't this overload also forward the `PrintOnExit`?

https://github.com/llvm/llvm-project/pull/164407
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to