mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
CPP: Another test case.
This commit is contained in:
@@ -7,3 +7,4 @@
|
||||
| test.cpp:107:16:107:16 | d | This parameter of type $@ is 4100 bytes - consider passing a const pointer/reference instead. | test.cpp:58:8:58:19 | MyLargeClass | MyLargeClass |
|
||||
| test.cpp:108:16:108:16 | e | This parameter of type $@ is 4100 bytes - consider passing a const pointer/reference instead. | test.cpp:58:8:58:19 | MyLargeClass | MyLargeClass |
|
||||
| test.cpp:109:16:109:16 | f | This parameter of type $@ is 4100 bytes - consider passing a const pointer/reference instead. | test.cpp:58:8:58:19 | MyLargeClass | MyLargeClass |
|
||||
| test.cpp:149:31:149:31 | a | This parameter of type $@ is 4100 bytes - consider passing a const pointer/reference instead. | test.cpp:58:8:58:19 | MyLargeClass | MyLargeClass |
|
||||
|
||||
@@ -145,3 +145,5 @@ MyArithmeticClass operator+(MyArithmeticClass lhs, const MyArithmeticClass &rhs)
|
||||
lhs += rhs; // lhs is copied by design
|
||||
return lhs;
|
||||
}
|
||||
|
||||
void myFunction6(MyLargeClass a); // GOOD (no definition, so we can't tell what's done with `a`) [FALSE POSITIVE]
|
||||
|
||||
Reference in New Issue
Block a user