[all-commits] [llvm/llvm-project] 2eedcc: [clang] "modular_format" attribute for functions u...

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Mon Jul 7 16:46:13 PDT 2025


  Branch: refs/heads/users/mysterymath/modular-printf/clang
  Home:   https://github.com/llvm/llvm-project
  Commit: 2eedccf113f1ad964c424a67f4cbf3b1c117378a
      https://github.com/llvm/llvm-project/commit/2eedccf113f1ad964c424a67f4cbf3b1c117378a
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp

  Log Message:
  -----------
  [clang] "modular_format" attribute for functions using format strings

This provides a C language version of the new IR modular-format
attribute. This, in concert with the format attribute, allows a library
function to declare that a modular version of its implementation is
available.

See issue #146159 for context.



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