[PATCH] D118388: [analyzer] Restrict CallDescription fuzzy builtin matching
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 11 02:03:30 PST 2022
steakhal added a comment.
I decided to land it as-is.
I tried to refactor the rest of the `isCLibraryFunction()` to reuse the new detection logic, but I run into issues by doing that.
BTW I'm not sure if we should support anything besides the builtins defined in `clang/include/clang/Basic/Builtins*.def` files.
Given that the parser should recognize these and use the appropriate Builtin for the FunctionDecl, `getBuiltinID()` should return the given `ID`.
Anyway. I decided to take it slowly and fix only the issue causing the crashes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118388/new/
https://reviews.llvm.org/D118388
More information about the cfe-commits
mailing list