[clang] ASTMatchers: Fix out-of-bounds access in foreachArgumentWithParamType.
The matcher crashes when a variadic function pointer is invoked because the FunctionProtoType has fewer parameters than arguments. Matching of non-variadic arguments now works. Differential Revision: https://reviews.llvm.org/D114559 Reviewed-by: sammccall
Loading
Please sign in to comment