diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2016-01-26 01:37:01 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2016-01-26 01:37:01 +0000 |
| commit | d3d91bd17f3bb41f6707980e27e1aef4273936b9 (patch) | |
| tree | 1b5c505c8a64c77028cade4c91948f4925581c55 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 5ec41f3b7451d6cbcf19034d58d8e7dc927c37a2 (diff) | |
| download | llvm-d3d91bd17f3bb41f6707980e27e1aef4273936b9.zip llvm-d3d91bd17f3bb41f6707980e27e1aef4273936b9.tar.gz llvm-d3d91bd17f3bb41f6707980e27e1aef4273936b9.tar.bz2 | |
[Sema] Incomplete types are OK for covariant returns
Per C++14 [class.virtual]p8, it is OK for the return type's class type
to be incomplete so long as the return type is the same between the base
and complete classes.
This fixes PR26297.
llvm-svn: 258768
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
