diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2023-06-04 17:12:30 +0200 |
---|---|---|
committer | Corentin Jabot <corentinjabot@gmail.com> | 2023-06-07 21:44:14 +0200 |
commit | 6dc1636815cb9321657f1cb7ac87a46553870dc7 (patch) | |
tree | 13fa44e511d671afb17e44f7dc096e4da0f7eaf5 /lldb/source/Commands/CommandObjectScript.cpp | |
parent | 309023263dba3b02bc885101faa47d110f662f99 (diff) | |
download | llvm-6dc1636815cb9321657f1cb7ac87a46553870dc7.zip llvm-6dc1636815cb9321657f1cb7ac87a46553870dc7.tar.gz llvm-6dc1636815cb9321657f1cb7ac87a46553870dc7.tar.bz2 |
[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
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions