[PATCH] D23284: Add -fdiagnostics-show-hotness

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 7 00:18:11 PDT 2016


rsmith added inline comments.

================
Comment at: lib/Frontend/CompilerInvocation.cpp:844
@@ +843,3 @@
+      Args.hasFlag(options::OPT_fdiagnostics_show_hotness,
+                   options::OPT_fno_diagnostics_show_hotness,
+                   /*default*/ false);
----------------
You should just use hasArg here, there is no -fno-diagnostics-show-hotness flag for -cc1.


https://reviews.llvm.org/D23284





More information about the cfe-commits mailing list