reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaDeclCXX.cpp
15357   QualType NewTy = New->getType()->getAs<FunctionType>()->getReturnType();
15384     Diag(New->getLocation(),
15386         << New->getDeclName() << NewTy << OldTy
15387         << New->getReturnTypeSourceRange();
15402           RequireCompleteType(New->getLocation(), NewClassTy,
15404                               New->getDeclName()))
15409     if (!IsDerivedFrom(New->getLocation(), NewClassTy, OldClassTy)) {
15410       Diag(New->getLocation(), diag::err_covariant_return_not_derived)
15411           << New->getDeclName() << NewTy << OldTy
15412           << New->getReturnTypeSourceRange();
15423             New->getLocation(), New->getReturnTypeSourceRange(),
15423             New->getLocation(), New->getReturnTypeSourceRange(),
15424             New->getDeclName(), nullptr)) {
15437     Diag(New->getLocation(),
15439         << New->getDeclName() << NewTy << OldTy
15440         << New->getReturnTypeSourceRange();
15449     Diag(New->getLocation(),
15451         << New->getDeclName() << NewTy << OldTy
15452         << New->getReturnTypeSourceRange();