lebedev.ri added inline comments.
================ Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:7872-7874 -def warn_ret_addr_label : Warning< - "returning address of label, which is local">, - InGroup<ReturnStackAddress>; ---------------- Why completely drop the diagnostic just because it is undesired in linux code? Why not just add an `-Wreturn-stack-address` diag option instead, and disable it if undesired? https://reviews.llvm.org/D50805 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits