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

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 23 10:53:21 PST 2023


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
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))
----------------
The comment just repeats what the code does. I think it can be dropped.


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