[clang] [clang][analyzer] Simplify code of StreamChecker (NFC). (PR #79312)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 25 04:29:57 PST 2024
NagyDonat wrote:
Yes, the "common big set of arguments" is an annoying problem. Perhaps you could consider my solution in core.BitwiseShift where I introduced a "validator" class that holds all the common arguments as data members, so instead of helper functions you have helper methods that can all access the common arguments. (The checker callback constructs a validator, and calls its "main" method, which will call the others as needed)
https://github.com/llvm/llvm-project/pull/79312
More information about the cfe-commits
mailing list