[PATCH] D142688: [Clang][Driver] Handle LoongArch multiarch tuples

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 28 21:34:23 PST 2023


MaskRay added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Linux.cpp:116
+
+    return std::string("loongarch64-linux-") + Libc + FPFlavor;
+  }
----------------
`return (... + ...).str();` if an operand of `+` is a `Twine`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142688



More information about the cfe-commits mailing list