[all-commits] [llvm/llvm-project] 5561ab: [libc] Add holder class for va_lists

michaelrj-google via All-commits all-commits at lists.llvm.org
Tue Apr 5 11:40:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5561ab3495a42fddbc251bec6bef46a1cae9c559
      https://github.com/llvm/llvm-project/commit/5561ab3495a42fddbc251bec6bef46a1cae9c559
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M libc/src/__support/CMakeLists.txt
    A libc/src/__support/arg_list.h
    M libc/test/src/__support/CMakeLists.txt
    A libc/test/src/__support/arg_list_test.cpp

  Log Message:
  -----------
  [libc] Add holder class for va_lists

This class is intended to be used in cases where a class is being used
on a va_list. It provides destruction and copy semantics with small
overhead. This is intended to be used in printf.

Reviewed By: sivachandra, lntue

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




More information about the All-commits mailing list