mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
C++: Fix FP.
This commit is contained in:
@@ -744,8 +744,8 @@ std::vector<int> first_in_returnValue_2() {
|
||||
}
|
||||
|
||||
void test2() {
|
||||
iterate(returnValue()); // GOOD [FALSE POSITIVE] (see *)
|
||||
iterate(returnValue()[0]); // GOOD [FALSE POSITIVE] (see *)
|
||||
iterate(returnValue()); // GOOD
|
||||
iterate(returnValue()[0]); // GOOD
|
||||
|
||||
for (auto x : ref_to_first_in_returnValue_1()) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user