[all-commits] [llvm/llvm-project] 6101f2: [clang] "modular_format" attribute for functions u...
Daniel Thornburgh via All-commits
all-commits at lists.llvm.org
Mon Nov 24 14:00:36 PST 2025
Branch: refs/heads/users/mysterymath/modular-printf/clang
Home: https://github.com/llvm/llvm-project
Commit: 6101f2a38371cb6f9dd8c4c0e58447e787182fff
https://github.com/llvm/llvm-project/commit/6101f2a38371cb6f9dd8c4c0e58447e787182fff
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 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.
Commit: 906b0b4c0b74d52fe120e0823354cb1d3cadb683
https://github.com/llvm/llvm-project/commit/906b0b4c0b74d52fe120e0823354cb1d3cadb683
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
Log Message:
-----------
Update docs to account for clang inferring format attribute
Commit: 4aaaa778fd8a159d95493ed253914aff7ef20ce4
https://github.com/llvm/llvm-project/commit/4aaaa778fd8a159d95493ed253914aff7ef20ce4
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
Log Message:
-----------
Add an example to clang attr doc
Commit: 5ad6e9acb7a51f5c6ebac4189640d4edf343f14d
https://github.com/llvm/llvm-project/commit/5ad6e9acb7a51f5c6ebac4189640d4edf343f14d
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
Log Message:
-----------
Emit the new type arg from format attr
Commit: 8d9246f594899c7f04bc18674e7b7c8b444987e7
https://github.com/llvm/llvm-project/commit/8d9246f594899c7f04bc18674e7b7c8b444987e7
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
Log Message:
-----------
Correct typos
Commit: 4f1d07c3330f89c7e042a8f1cab77c13bc30d091
https://github.com/llvm/llvm-project/commit/4f1d07c3330f89c7e042a8f1cab77c13bc30d091
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
A clang/test/CodeGen/attr-modular-format.c
Log Message:
-----------
Tests for successful format string passthrough
Commit: ad4e4258818db3c1c48ff0e197a6bab6d31e2bcf
https://github.com/llvm/llvm-project/commit/ad4e4258818db3c1c48ff0e197a6bab6d31e2bcf
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/CodeGen/attr-modular-format.c
Log Message:
-----------
Add redeclaration test
Commit: ad78cf89fc6d1ef25e0379b32747581c1da00f70
https://github.com/llvm/llvm-project/commit/ad78cf89fc6d1ef25e0379b32747581c1da00f70
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
M clang/lib/Sema/SemaDeclAttr.cpp
Log Message:
-----------
Clarify and correct docs
Commit: 0afe987f9c9a427398eb8f4528c06143ccbd8653
https://github.com/llvm/llvm-project/commit/0afe987f9c9a427398eb8f4528c06143ccbd8653
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
A clang/test/Sema/attr-modular-format.c
Log Message:
-----------
Emit error for missing format attribute
Commit: afd92f69dd97478953a890374083f5e7034e7aae
https://github.com/llvm/llvm-project/commit/afd92f69dd97478953a890374083f5e7034e7aae
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
Log Message:
-----------
Clarify semantics
Commit: 56183a3bbe8979628b38fce5729dc6124c29336a
https://github.com/llvm/llvm-project/commit/56183a3bbe8979628b38fce5729dc6124c29336a
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
Log Message:
-----------
clang-format
Commit: 46f88d58be82c248e92a4f6412f14ead51073ab3
https://github.com/llvm/llvm-project/commit/46f88d58be82c248e92a4f6412f14ead51073ab3
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
Add a blurb to the release notes
Commit: 5e234479ab25879d17d6020363d21eb96e9b29bd
https://github.com/llvm/llvm-project/commit/5e234479ab25879d17d6020363d21eb96e9b29bd
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
Log Message:
-----------
Update newly-failing test from merge
Commit: 25675a6d88ec648acee09c4f8069e74d1f132d25
https://github.com/llvm/llvm-project/commit/25675a6d88ec648acee09c4f8069e74d1f132d25
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/AttrDocs.td
M clang/lib/CodeGen/CGCall.cpp
M clang/test/Sema/attr-modular-format.c
Log Message:
-----------
Correct typos and misc nits
Compare: https://github.com/llvm/llvm-project/compare/07247786e84a...25675a6d88ec
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