Skip to content

Commit 60155ce

Browse files
committed
C++: Address review comments
1 parent 4fa8c6a commit 60155ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: minorAnalysis
33
---
4-
* 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.
4+
* 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.

cpp/ql/test/query-tests/Likely Bugs/Underspecified Functions/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void test(int *argv[]) {
3131
not_yet_declared1(1); // BAD (GOOD for everything except for cpp/implicit-function-declaration)
3232
not_yet_declared2(1); // BAD (GOOD for everything except for cpp/implicit-function-declaration)
3333
not_yet_declared2(ca); // BAD (GOOD for everything except for cpp/mistyped-function-arguments)
34-
not_yet_declared2(); // GOOD
34+
not_yet_declared2(); // BAD [NOT DETECTED] (GOOD for everything except for cpp/too-few-arguments)
3535

3636
declared_empty_defined_with(); // BAD
3737
declared_empty_defined_with(1); // GOOD

0 commit comments

Comments
 (0)