[clang-tools-extra] [clang-tidy] Added bugprone-unsequenced-global-accesses check (PR #130421)

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 12 11:48:40 PDT 2025


haoNoQ wrote:

> `// To represent fields in structs or unions we use numbered FieldIndices.`

This piece of complexity is also trivialized by path sensitive analysis. You'll simply ask whether it's an access to the same memory address or not. No need to describe what the address is or who owns it.

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


More information about the cfe-commits mailing list