File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
cpp/ql/src/semmle/code/cpp Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ class NestedStruct extends Struct {
3030 this .isMember ( )
3131 }
3232
33- /** Whether this member is private. */
33+ /** Holds if this member is private. */
3434 predicate isPrivate ( ) { this .hasSpecifier ( "private" ) }
3535
36- /** Whether this member is protected. */
36+ /** Holds if this member is protected. */
3737 predicate isProtected ( ) { this .hasSpecifier ( "protected" ) }
3838
39- /** Whether this member is public. */
39+ /** Holds if this member is public. */
4040 predicate isPublic ( ) { this .hasSpecifier ( "public" ) }
4141
4242}
Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ class NestedUnion extends Union {
3131 this .isMember ( )
3232 }
3333
34- /** Whether this member is private. */
34+ /** Holds if this member is private. */
3535 predicate isPrivate ( ) { this .hasSpecifier ( "private" ) }
3636
37- /** Whether this member is protected. */
37+ /** Holds if this member is protected. */
3838 predicate isProtected ( ) { this .hasSpecifier ( "protected" ) }
3939
40- /** Whether this member is public. */
40+ /** Holds if this member is public. */
4141 predicate isPublic ( ) { this .hasSpecifier ( "public" ) }
4242
4343}
You can’t perform that action at this time.
0 commit comments