[clang] [clang][sema] Add nonnull attribute to builtin format functions (PR #158626)
Radovan Božić via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 16 06:39:57 PDT 2025
================
@@ -392,6 +392,10 @@ class Context {
bool performsCallback(unsigned ID,
llvm::SmallVectorImpl<int> &Encoding) const;
+ /// Return true if this builtin has parameters at fixed positions
+ /// that must be non-null.
+ bool IsNonNull(unsigned ID, llvm::SmallVectorImpl<int> &Indxs) const;
----------------
bozicrHT wrote:
Yes, it should!
https://github.com/llvm/llvm-project/pull/158626
More information about the cfe-commits
mailing list