mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
C++: Document tests better
This addresses PR comments by @rdmarsh2.
This commit is contained in:
@@ -66,5 +66,5 @@ void test_setThroughNonMember() {
|
||||
void test_nonMemberSetA() {
|
||||
S s;
|
||||
nonMemberSetA(&s, user_input());
|
||||
sink(nonMemberGetA(&s)); // flow [NOT DETECTED due to lack of flow through &]
|
||||
sink(nonMemberGetA(&s)); // flow
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user