[Clang] Check for abstract parameters only when functions are defined.
The C++ standard allows abstract parameters in deleted functions and in function declarations > The type of a parameter or the return type for a function definition > shall not be a (possibly cv-qualified) class type that is > incomplete or abstract within the function body > unless the function is deleted. Fixes https://github.com/llvm/llvm-project/issues/63012 Reviewed By: #clang-language-wg, aaron.ballman Differential Revision: https://reviews.llvm.org/D152096
Loading
Please sign in to comment