[all-commits] [llvm/llvm-project] 40ba1f: [clang] Update -Wformat warnings for fixed-point f...

PiJoules via All-commits all-commits at lists.llvm.org
Tue Feb 27 11:09:51 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40ba1f60e9f4b186d71272d4bc23b5af6204244d
      https://github.com/llvm/llvm-project/commit/40ba1f60e9f4b186d71272d4bc23b5af6204244d
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    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
    A clang/test/Sema/format-fixed-point.c

  Log Message:
  -----------
  [clang] Update -Wformat warnings for fixed-point format specifiers (#82855)

ISO/IEC TR 18037 defines %r, %R, %k, and %K for fixed point format
specifiers. -Wformat should not warn on these when they are provided.



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