================ @@ -85,9 +85,7 @@ void ThrowByValueCatchByReferenceCheck::diagnoseThrowLocations( // If the throw statement does not throw by pointer then it throws by value // which is ok. // There are addition checks that emit diagnosis messages if the thrown value - // is not an RValue. See: - // https://www.securecoding.cert.org/confluence/display/cplusplus/ERR09-CPP.+Throw+anonymous+temporaries - // This behavior can be influenced by an option. + // is not an RValue. This behavior can be influenced by an option. ---------------- zeyi2 wrote:
ERR09-CPP is a CERT C++ Coding Standard recommendation, whose documentation is no longer public now on https://cmu-sei.github.io/secure-coding-standards/sei-cert-cpp-coding-standard https://github.com/llvm/llvm-project/pull/207893 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
