mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
C++: Don't use C-style varargs in test.cpp sink
As we prepare to clarify how conversions are treated, we don't want a `sink(...)` declaration where it's non-obvious which conversions are applied to arguments.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
int source();
|
||||
void sink(...);
|
||||
void sink(int); void sink(const int *); void sink(int **);
|
||||
|
||||
void intraprocedural_with_local_flow() {
|
||||
int t2;
|
||||
|
||||
Reference in New Issue
Block a user