mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Merge branch 'implicit-function-declaration' of github.com:MathiasVP/ql into implicit-function-declaration
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<overview>
|
||||
<p>A function is called without a prior function declaration or definition.
|
||||
When this happens, the compiler generates an implicit declaration of the function,
|
||||
specifying an integer return type and no parameters.</p>
|
||||
specifying an integer return type and no parameters.
|
||||
</p>
|
||||
|
||||
<p>This may indicate a misspelled function name, or that the required header containing
|
||||
@@ -23,6 +23,6 @@ the function declaration has not been included.</p>
|
||||
</example>
|
||||
|
||||
<references>
|
||||
<li>SEI CERT C Coding Standard: <a href="https://wiki.sei.cmu.edu/confluence/display/c/DCL31-C.+Declare+identifiers+before+using+them"> DCL20-C. Explicitly specify void when a function accepts no arguments </a></li>
|
||||
<li>SEI CERT C Coding Standard: <a href="https://wiki.sei.cmu.edu/confluence/display/c/DCL31-C.+Declare+identifiers+before+using+them">DCL31-C. Declare identifiers before using them</a></li>
|
||||
</references>
|
||||
</qhelp>
|
||||
|
||||
Reference in New Issue
Block a user