[clang] [Clang][Bytecode][NFS] Init Semantics non-static member of class Floating (PR #153671)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 15 04:45:15 PDT 2025


AaronBallman wrote:

> Static analysis flagged that the non-static member Semantics was not initialized by the default default constructor. Fix is to initialize it using in class member initialization.

Yeah, this might be one better to mark as Intentional in the static analysis tool; there really isn't a sensible default value to begin with, so getting sanitizer coverage seems like a better approach IMO.

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


More information about the cfe-commits mailing list