summaryrefslogtreecommitdiff
path: root/tests/assertion-extraction.c
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2019-12-12 20:25:05 -0800
committerPhilip Chimento <philip.chimento@gmail.com>2019-12-16 15:39:34 -0500
commit5fb0dafcafbb34a503b301f807fb5c8a6efe326a (patch)
tree5c2811f1e7b0ebf9e4676420168ca2da9fb67811 /tests/assertion-extraction.c
parent5ff697b4d9d173f1c131811b0c30b4eeb3dbc26d (diff)
clang-plugin: Support LLVM 9.0
The main difference here is that evalCall checkers have changed to take a CallEvent& parameter rather than a CallExpr* parameter. For version 9 we convert the CallEvent& into a CallExpr* as soon as we receive it. This may need to be refactored in the future, as CallEvent is the more modern API and covers syntax that CallExpr doesn't cover, but that is a large refactor better left for when it becomes necessary or when LLVM 9 becomes the minimum version.
Diffstat (limited to 'tests/assertion-extraction.c')
0 files changed, 0 insertions, 0 deletions