[all-commits] [llvm/llvm-project] 070f33: [Driver] Remove extraneous c_str() (NFC) (#167156)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Nov 8 10:17:10 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 070f3310ccfd040271aae982f36c008f2c34e11d
      https://github.com/llvm/llvm-project/commit/070f3310ccfd040271aae982f36c008f2c34e11d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-11-08 (Sat, 08 Nov 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Gnu.cpp

  Log Message:
  -----------
  [Driver] Remove extraneous c_str() (NFC) (#167156)

Note that addMultilibFlag takes StringRef for its second parameter.

Identified with readability-redundant-string-cstr.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list