[all-commits] [llvm/llvm-project] fb1e90: [NFC] Make format() more amenable to format attrib...

apple-fcloutier via All-commits all-commits at lists.llvm.org
Wed Oct 26 12:12:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb1e90ef07fec0d64a05c0b6d41117a5ea3e8344
      https://github.com/llvm/llvm-project/commit/fb1e90ef07fec0d64a05c0b6d41117a5ea3e8344
  Author: FĂ©lix Cloutier <fcloutier at apple.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M llvm/include/llvm/Support/Format.h
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/Format.cpp
    M llvm/lib/TableGen/SetTheory.cpp
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/FormatChkTest.cpp
    M llvm/utils/TableGen/GlobalISel/GIMatchDag.cpp

  Log Message:
  -----------
  [NFC] Make format() more amenable to format attributes

This change modifies the implementation of the format() function
so that vendor forks committed to building with compilers that
support __attribute__((format)) on non-variadic functions can
check the format() function with it.

Reviewed By: ahatanak
Differential Revision: https://reviews.llvm.org/D132413
rdar://84571523




More information about the All-commits mailing list