[PATCH] D144620: [clang][driver] Handle '-mrelax' and '-mno-relax' for AVR

Ben Shi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 23 15:16:58 PST 2023


benshi001 added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/AVR.cpp:548
 
+    // '-mrelax' is default unless '-mno-relax' is specified.
+    if (Args.hasFlag(options::OPT_mrelax, options::OPT_mno_relax, true))
----------------
MaskRay wrote:
> The comment just repeats what the code does. I think it can be dropped.
I will drop when commit it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144620



More information about the cfe-commits mailing list