We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f4d4bd commit f5e8a72Copy full SHA for f5e8a72
1 file changed
lib/checkfunctions.cpp
@@ -53,7 +53,7 @@ void CheckFunctions::checkProhibitedFunctions()
53
"(http://stackoverflow.com/questions/1018853/why-is-alloca-not-considered-good-practice and http://linux.die.net/man/3/alloca).");
54
else
55
reportError(tok, Severity::warning, "allocaCalled",
56
- "Obsolete function 'alloca' called. In C++11 and later it is recommended to use std::array<> instead.\n"
+ "Obsolete function 'alloca' called.\n"
57
"The obsolete function 'alloca' is called. In C++11 and later it is recommended to use std::array<> or "
58
"a dynamically allocated array instead. The function 'alloca' is dangerous for many reasons "
59
0 commit comments