[clang] [flang] [clang][flang] Support -time in both clang and flang (PR #109165)

Kiran Chandramohan via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 02:29:07 PDT 2024


================
@@ -5865,6 +5865,7 @@ def print_enabled_extensions : Flag<["-", "--"], "print-enabled-extensions">,
 def : Flag<["-"], "mcpu=help">, Alias<print_supported_cpus>;
 def : Flag<["-"], "mtune=help">, Alias<print_supported_cpus>;
 def time : Flag<["-"], "time">,
+  Visibility<[ClangOption, CLOption, DXCOption, FlangOption]>,
----------------
kiranchandramohan wrote:

If this is not expected to work on Windows, then should we have CLOption and DXCOption? Or are these just added for compatibility with the previous setting?

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


More information about the cfe-commits mailing list