This fixes PR45997 (https://bugs.llvm.org/show_bug.cgi?id=45997), which is caused by a bug that has existed since we started passing and returning C++ structs with ObjC strong pointer members (see https://reviews.llvm.org/D44908) or structs annotated with trivial_abi directly.
rdar://problem/63740936
clang-tidy: error: use of undeclared identifier 'hasAggregateEvaluationKind' [clang-diagnostic-error]
not useful