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

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 2725   if (D->getFunctionType() &&
 2726       D->getFunctionType()->getReturnType()->isVoidType() &&
 2727       !isa<CXXConstructorDecl>(D)) {
 2731   if (const auto *MD = dyn_cast<ObjCMethodDecl>(D))
 2759   D->addAttr(::new (S.Context) WarnUnusedResultAttr(S.Context, AL, Str));