[PATCH] D131225: Driver: Refactor and support per target dirs in baremetal

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 8 12:51:22 PDT 2022


barannikov88 added inline comments.


================
Comment at: llvm/lib/Support/Triple.cpp:1936
+bool Triple::isARMBareMetal() const {
+  if (getArch() != llvm::Triple::arm && getArch() != Triple::thumb)
+    return false;
----------------
(nit) at least `llvm::` qualification is redundant, `Triple::` might also be.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131225



More information about the cfe-commits mailing list