[Lldb-commits] [clang] [lldb] [Clang] Improve Sema diagnostic performance for __builtin_counted_by_ref (PR #116719)

via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 19 18:46:13 PST 2024


https://github.com/Sirraide commented:

The main thing I’m concerned about here is that I feel like there ought to be a better way of doing this than checking for and disallowing it in every place where we can have a subexpression in C.

CC @AaronBallman for opinions on this.

Also, if we’re doing it this way, then the check should definitely be factored out into a function in `Sema`.

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


More information about the lldb-commits mailing list