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

References

tools/clang/lib/Sema/SemaDeclCXX.cpp
14729   SourceLocation Loc = DS.getBeginLoc();
14731   assert(DS.isFriendSpecified());
14732   assert(DS.getStorageClassSpec() == DeclSpec::SCS_unspecified);
14744   if (DS.getTypeQualifiers()) {
14745     if (DS.getTypeQualifiers() & DeclSpec::TQ_const)
14746       Diag(DS.getConstSpecLoc(), diag::err_friend_decl_spec) << "const";
14747     if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile)
14748       Diag(DS.getVolatileSpecLoc(), diag::err_friend_decl_spec) << "volatile";
14749     if (DS.getTypeQualifiers() & DeclSpec::TQ_restrict)
14750       Diag(DS.getRestrictSpecLoc(), diag::err_friend_decl_spec) << "restrict";
14751     if (DS.getTypeQualifiers() & DeclSpec::TQ_atomic)
14752       Diag(DS.getAtomicSpecLoc(), diag::err_friend_decl_spec) << "_Atomic";
14753     if (DS.getTypeQualifiers() & DeclSpec::TQ_unaligned)
14754       Diag(DS.getUnalignedSpecLoc(), diag::err_friend_decl_spec) << "__unaligned";
14760   Declarator TheDeclarator(DS, DeclaratorContext::MemberContext);
14785       << DS.getSourceRange();
14805                                    DS.getFriendSpecLoc());
14807     D = CheckFriendTypeDecl(Loc, DS.getFriendSpecLoc(), TSI);