[clang] [clang] Add flag for relaxed pointer subtraction (PR #196392)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 3 10:23:19 PDT 2026
================
@@ -2761,6 +2761,20 @@ are listed below.
If ``-falign-functions`` is specified, or if the function has an
``aligned`` attribute, this option is ignored.
+.. option:: -fstable-pointer-subtraction
----------------
shafik wrote:
The command line reference tends to be pretty sparse and I we have gotten a lot of feedback we could do better at documenting and I think this level of detail is helpful.
Maybe we could have it organized better though.
https://github.com/llvm/llvm-project/pull/196392
More information about the cfe-commits
mailing list