C++: Address review comments

This commit is contained in:
Calum Grant
2024-11-22 15:30:24 +00:00
parent 4fa8c6ae65
commit 60155ce205
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
---
category: minorAnalysis
---
* The "Call to function with fewer arguments than declared parameters" query (`cpp/too-few-arguments`) query produces no results if the function has been implicitly declared.
* The "Call to function with fewer arguments than declared parameters" query (`cpp/too-few-arguments`) query no longer produces results if the function has been implicitly declared.

View File

@@ -31,7 +31,7 @@ void test(int *argv[]) {
not_yet_declared1(1); // BAD (GOOD for everything except for cpp/implicit-function-declaration)
not_yet_declared2(1); // BAD (GOOD for everything except for cpp/implicit-function-declaration)
not_yet_declared2(ca); // BAD (GOOD for everything except for cpp/mistyped-function-arguments)
not_yet_declared2(); // GOOD
not_yet_declared2(); // BAD [NOT DETECTED] (GOOD for everything except for cpp/too-few-arguments)
declared_empty_defined_with(); // BAD
declared_empty_defined_with(1); // GOOD