[flang-commits] [clang] [flang] [flang][Driver] Preliminary support for -ftime-report (PR #107270)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Thu Sep 5 04:05:03 PDT 2024


================
@@ -254,6 +276,43 @@ class CompilerInstance {
   /// Produces the string which represents target feature
   std::string getTargetFeatures();
 
+  /// {
+  /// @name Timing
+  /// @{
+  bool isTimingEnabled() { return timingMgr.isEnabled(); }
----------------
tblah wrote:

nit: Do we really need this overload in addition to the `const` version?

https://github.com/llvm/llvm-project/pull/107270


More information about the flang-commits mailing list