[PATCH] D96875: [flang][driver] Add -fdebug-module-writer option
Andrzej Warzynski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 1 11:11:01 PST 2021
awarzynski added inline comments.
================
Comment at: clang/include/clang/Driver/Options.td:4280-4281
HelpText<"Dump provenance">;
+def fdebug_module_writer : Flag<["-"],"fdebug-module-writer">,
+ HelpText<"Enables showing debug messages while writing module files.">;
----------------
[nit] The convention here seems to be: no `.` at the end
[nit] Perhaps a bit shorter: `Enable debug messages while writhing module files`?
================
Comment at: flang/include/flang/Frontend/CompilerInvocation.h:73-74
+ bool debugModuleDir_ = false;
+
+
public:
----------------
[nit] One empty line instead of 2
================
Comment at: flang/lib/Frontend/CompilerInvocation.cpp:297
clang::DiagnosticsEngine &diags) {
-
+
+ // -J/module-dir option
----------------
Unrelated change
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96875/new/
https://reviews.llvm.org/D96875
More information about the cfe-commits
mailing list