[all-commits] [llvm/llvm-project] cff881: [Clang] support C23 printf width length modifiers ...

Oleksandr Tarasiuk via All-commits all-commits at lists.llvm.org
Sat Jun 6 00:09:08 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cff8815ebb23354ac506e6b299cf74cd60227163
      https://github.com/llvm/llvm-project/commit/cff8815ebb23354ac506e6b299cf74cd60227163
  Author: Oleksandr Tarasiuk <oleksandr.tarasiuk at outlook.com>
  Date:   2026-06-06 (Sat, 06 Jun 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/FormatString.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/FormatString.cpp
    M clang/lib/AST/PrintfFormatString.cpp
    M clang/lib/AST/ScanfFormatString.cpp
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/Sema/format-strings-c23.c
    M clang/test/Sema/format-strings.c

  Log Message:
  -----------
  [Clang] support C23 printf width length modifiers (#199991)

This patch adds `-Wformat` support for the C23 `wN` and `wfN` length
modifiers in `printf`/`scanf` format strings. #116962



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