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

References

tools/clang/lib/Sema/SemaDeclCXX.cpp
 8629   bool isVirtual = D.getDeclSpec().isVirtualSpecified();
 8637     if (!D.isInvalidType())
 8638       Diag(D.getIdentifierLoc(), diag::err_constructor_cannot_be)
 8639         << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc())
 8640         << SourceRange(D.getIdentifierLoc());
 8641     D.setInvalidType();
 8644     if (!D.isInvalidType())
 8645       Diag(D.getIdentifierLoc(), diag::err_constructor_cannot_be)
 8646         << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc())
 8647         << SourceRange(D.getIdentifierLoc());
 8648     D.setInvalidType();
 8652   if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) {
 8655         D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(),
 8655         D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(),
 8656         D.getDeclSpec().getRestrictSpecLoc(),
 8657         D.getDeclSpec().getAtomicSpecLoc());
 8658     D.setInvalidType();
 8661   checkMethodTypeQualifiers(*this, D, diag::err_invalid_qualified_constructor);
 8665   DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo();
 8670     D.setInvalidType();
 8677   if (Proto->getReturnType() == Context.VoidTy && !D.isInvalidType())