[clang] [CIR][ABI] Add restrict, nonnull, and ReturnsNonNull attributes (PR #188281)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 6 11:00:32 PDT 2026
adams381 wrote:
Addressed all feedback in the latest push:
- Moved ReturnsNonNullAttr to constructFunctionReturnAttributes, added NullPointerIsValid guard
- Skipped restrict→noalias for builtins (printf was getting noalias from its restrict param, OGCG doesn't)
- Tightened OGCG checks on operator new calls in new-delete.cpp
https://github.com/llvm/llvm-project/pull/188281
More information about the cfe-commits
mailing list