[all-commits] [llvm/llvm-project] 382f70: [libc++][NFC] Rewrite function call on two lines f...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Jan 24 06:29:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 382f70a877f00ab71f3cb5ba461b52e1b59cd292
      https://github.com/llvm/llvm-project/commit/382f70a877f00ab71f3cb5ba461b52e1b59cd292
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M libcxx/include/string

  Log Message:
  -----------
  [libc++][NFC] Rewrite function call on two lines for clarity (#79141)

Previously, there was a ternary conditional with a less-than comparison
appearing inside a template argument, which was really confusing because
of the <...> of the function template. This patch rewrites the same
statement on two lines for clarity.




More information about the All-commits mailing list