[PATCH] D99292: [flang][driver] Add support for `-cpp/-nocpp`

Tim Keith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 29 07:38:54 PDT 2021


tskeith added inline comments.


================
Comment at: clang/include/clang/Driver/Options.td:4302
+def cpp : Flag<["-"], "cpp">, Group<f_Group>,
+  HelpText<"Always add standard macro predefinitions">;
+def nocpp : Flag<["-"], "nocpp">, Group<f_Group>,
----------------
This option affects command line macro definitions too. So maybe something like:
`Enable predefined and command line preprocessor macros`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99292/new/

https://reviews.llvm.org/D99292



More information about the cfe-commits mailing list