[clang] [analyzer] Refactor CallDescription match mode (NFC) (PR #83432)

via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 1 03:37:23 PST 2024


=?utf-8?q?DonĂ¡t?= Nagy <donat.nagy at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/83432 at github.com>


NagyDonat wrote:

> The flag approach can probably make a sense for namespace handling (match the exact specified namespace, or allow a prefix before, or even something in between).

Even in that case, I'd prefer a separate second parameter (that's either boolean or a different `enum`). Squeezing unrelated things into the same flag only makes sense if (1) memory use is strongly limited (2) there would be too many separate parameters. 


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


More information about the cfe-commits mailing list