[llvm-branch-commits] [clang] [Clang] Improve type traits recognition in `__has_builtin` (#111516) (PR #111660)

Aaron Ballman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Nov 15 09:39:31 PST 2024


AaronBallman wrote:

Yes. but other builtins were also impacted and went from returning true (18.x) to false (19.x) to true (20.x): https://godbolt.org/z/8vPvzb81x

Just to double-check assumptions -- we don't know of any builtins which Clang now reports true for which Clang does not actually support? And we don't know of any builtins which Clang now reports false for which Clang does actually support? IOW, `__has_builtin` is not lying after landing these changes, right?

https://github.com/llvm/llvm-project/pull/111660


More information about the llvm-branch-commits mailing list