[PATCH] D154396: [clang] Add support for SerenityOS

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 5 13:44:33 PDT 2023


MaskRay added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Serenity.cpp:85
+  auto linkerIs = [Exec](const char *name) {
+    return llvm::sys::path::filename(Exec).equals_insensitive(name) ||
+           llvm::sys::path::stem(Exec).equals_insensitive(name);
----------------
Avoid `equals_insensitive`. It's only recommended in some places for Windows.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154396



More information about the cfe-commits mailing list