[all-commits] [llvm/llvm-project] d3d6a5: [NFC] Rename ArgSize to SpellingSize, and add ArgS...

Ilyas Mustafazade via All-commits all-commits at lists.llvm.org
Mon Mar 20 14:19:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3d6a5ff184d4d9c7ac7bcd281281a3b53ed058b
      https://github.com/llvm/llvm-project/commit/d3d6a5ff184d4d9c7ac7bcd281281a3b53ed058b
  Author: Ilyas Mustafazade <il.mystafa at gmail.com>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M llvm/lib/Option/Option.cpp

  Log Message:
  -----------
  [NFC] Rename ArgSize to SpellingSize, and add ArgStringSize.

Differential Revision: https://reviews.llvm.org/D146394


  Commit: 38fc680c2dc31ae7c397faa919e1881fb9e8f82a
      https://github.com/llvm/llvm-project/commit/38fc680c2dc31ae7c397faa919e1881fb9e8f82a
  Author: Ilyas Mustafazade <il.mystafa at gmail.com>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M llvm/lib/Option/Option.cpp

  Log Message:
  -----------
  Replace strlen with StringRef::size

Replace multiple strlen calls with a StringRef constructor and a
StringRef::size call.

Differential Revision: https://reviews.llvm.org/D146394


Compare: https://github.com/llvm/llvm-project/compare/c71fe7c9e83c...38fc680c2dc3


More information about the All-commits mailing list