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

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 1814   if (!S.checkStringLiteralArgumentAttr(AL, 0, Str))
 1817   if (S.Context.getTargetInfo().getTriple().isOSDarwin()) {
 1818     S.Diag(AL.getLoc(), diag::err_alias_not_supported_on_darwin);
 1821   if (S.Context.getTargetInfo().getTriple().isNVPTX()) {
 1822     S.Diag(AL.getLoc(), diag::err_alias_not_supported_on_nvptx);
 1828       S.Diag(AL.getLoc(), diag::err_alias_is_definition) << FD << 0;
 1834       S.Diag(AL.getLoc(), diag::err_alias_is_definition) << VD << 0;
 1840   if (!S.LangOpts.CPlusPlus) {
 1843     const DeclarationNameInfo target(&S.Context.Idents.get(Str), AL.getLoc());
 1844     LookupResult LR(S, target, Sema::LookupOrdinaryName);
 1845     if (S.LookupQualifiedName(LR, S.getCurLexicalContext()))
 1845     if (S.LookupQualifiedName(LR, S.getCurLexicalContext()))
 1847         ND->markUsed(S.Context);
 1850   D->addAttr(::new (S.Context) AliasAttr(S.Context, AL, Str));
 1850   D->addAttr(::new (S.Context) AliasAttr(S.Context, AL, Str));