[clang] [clang] Add builtins for `add` with `nuw` and/or `nsw` (PR #130354)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 10 07:57:45 PDT 2025
================
@@ -5037,6 +5037,66 @@ def ArithmeticFence : LangBuiltin<"ALL_LANGUAGES"> {
let Prototype = "void(...)";
}
+class SNUWTemplate :
----------------
macurtis-amd wrote:
I didn't see any infrastructure to handle the varying return type. How would I express that the return type is the same as the first argument type?
https://github.com/llvm/llvm-project/pull/130354
More information about the cfe-commits
mailing list