================ @@ -222,6 +227,9 @@ class CompilerInvocation : public CompilerInvocationBase { return defaultKinds; } + bool getEnableTimers() { return enableTimers; } ---------------- macurtis-amd wrote: Nit: non-const getter is not needed. https://github.com/llvm/llvm-project/pull/107270