[all-commits] [llvm/llvm-project] 824276: [libc++][format] Use a helper constant.

mordante via All-commits all-commits at lists.llvm.org
Thu Apr 7 10:25:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82427685ea3732665286d5b1c8a1424b1f96164e
      https://github.com/llvm/llvm-project/commit/82427685ea3732665286d5b1c8a1424b1f96164e
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M libcxx/include/__format/formatter_pointer.h

  Log Message:
  -----------
  [libc++][format] Use a helper constant.

The code accidentally uses a hard-coded value. Use a constant to make
sure the same value is used at both places.




More information about the All-commits mailing list