aaron.ballman marked an inline comment as done. aaron.ballman added inline comments.
================ Comment at: clang/lib/Sema/SemaDeclAttr.cpp:2835 + D->getFunctionType()->getReturnType()->isVoidType() && + !isa<CXXConstructorDecl>(D)) { S.Diag(AL.getLoc(), diag::warn_attribute_void_function_method) << AL << 0; ---------------- erichkeane wrote: > aaron.ballman wrote: > > Conversion functions? > Conversion functions don't return 'void', so the 2nd condition should do it, > right? true -- we already seem to diagnose a conversion function that returns void anyway. Sorry for the noise! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D64914/new/ https://reviews.llvm.org/D64914 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits