See Also Check SEI CERT-C++ (-cert-cpp)) Topics Check for Coding Standard Violations External Websites ERR34-C Introduced in R2019a[1] This software has been created by MathWorks incorporating portions of: the “SEI CERT-C Website,” © 2017 Carnegie Mellon University, the SEI CERT-C++...
+ // CHECK-MESSAGES: :[[@LINE+1]]:12: warning: 'atol' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead [cert-err34-c] + long l = atol(in); // to long + // CHECK-MESSAGES: :[[@LINE+1]]:18: war...
Comment at: clang-tidy/cert/StrToNumCheck.cpp:182 @@ +181,3 @@ +void StrToNumCheck::check(const MatchFinder::MatchResult &Result) { + const auto *CE = Result.Nodes.getNodeAs<CallExpr>("expr"); + const FunctionDecl *FD = nullptr; --- alexfh wrote: > Too many abbreviations for my ...