[all-commits] [llvm/llvm-project] 23ace0: [libc] add int to string for extended bases

michaelrj-google via All-commits all-commits at lists.llvm.org
Wed Aug 10 11:28:26 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23ace05e0a7aa8d47da60e6baa4ad6a2d68a83c8
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M libc/src/__support/integer_to_string.h
    M libc/test/src/__support/integer_to_string_test.cpp

  Log Message:
  [libc] add int to string for extended bases

The default IntegerToString class only supports base 10, this patch adds
a version which supports any base between 2 and 36 inclusive. This will
be used in an upcoming patch.

Reviewed By: sivachandra

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

More information about the All-commits mailing list