llvm-project
e2f1cbae - [analyzer] Use explicit call description mode (easy cases) (#88879)

Commit
1 year ago
[analyzer] Use explicit call description mode (easy cases) (#88879) This commit explicitly specifies the matching mode (C library function, any non-method function, or C++ method) for the `CallDescription`s constructed in various checkers where this transition was easy and straightforward. This change won't cause major functional changes, but isn't NFC because it ensures that e.g. call descriptions for a non-method function won't accidentally match a method that has the same name. Separate commits will perform (or have already performed) this change in other checkers. My goal is to ensure that the call description mode is always explicitly specified and eliminate (or strongly restrict) the vague "may be either a method or a simple function" mode that's the current default.
Author
Parents
Loading