[PATCH] D122524: [Driver][AVR] Emit proper warnings for different options

Ben Shi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 28 20:48:04 PDT 2022


benshi001 marked an inline comment as done.
benshi001 added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/AVR.cpp:451
   if (!Args.hasArg(options::OPT_nostdlib) &&
       !Args.hasArg(options::OPT_nodefaultlibs)) {
+    if (!CPU.empty()) {
----------------
MaskRay wrote:
> The two if can be combined.
I will do it when committing.


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

https://reviews.llvm.org/D122524



More information about the cfe-commits mailing list