[clang] [clang] Constant-evaluate format strings as last resort (PR #135864)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Sat May 3 15:39:45 PDT 2025
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/135864 at github.com>
ojhunt wrote:
The pointer auth options PR would also benefit from this - it currently has an ad hoc and restricted version of this as it needed to support strings produced by builtins, and predated @cor3ntin's string evaluation change so that was not even remotely an option at the time.
I would much rather have us use a single string evaluation routine rather than the current behavior, but that would block the options PR on this one.
https://github.com/llvm/llvm-project/pull/136828
https://github.com/llvm/llvm-project/pull/135864
More information about the cfe-commits
mailing list