[all-commits] [llvm/llvm-project] b3050f: [C23] Add __TYPE_FMTB__ and __TYPE_FMTb__ predefin...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri Feb 16 14:18:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3050f518cc57e064ab6b3f17fb00534bd5b85d6
      https://github.com/llvm/llvm-project/commit/b3050f518cc57e064ab6b3f17fb00534bd5b85d6
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/Preprocessor/init.c

  Log Message:
  -----------
  [C23] Add __TYPE_FMTB__ and __TYPE_FMTb__ predefined macros (#82037)

This adds predefined formatting macros in C23 mode for printing unsigned
integers in binary format (e.g, __UINT_FAST64_FMTB__). These are used to
implement the PRIb (et al) macros in inttypes.h

Fixes https://github.com/llvm/llvm-project/issues/81896



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list