mirror of
https://github.com/github/codeql.git
synced 2026-03-27 01:38:22 +01:00
13 lines
363 B
Plaintext
13 lines
363 B
Plaintext
import cpp
|
|
|
|
from Class c
|
|
where not c.getName().charAt(0) = "_"
|
|
and not c instanceof TemplateClass
|
|
select
|
|
c.getQualifiedName(),
|
|
any(string s |
|
|
if c.implicitCopyAssignmentOperatorDeleted() then s="can NOT" else s="can"),
|
|
any(string s |
|
|
if c.hasImplicitCopyAssignmentOperator() then s="does" else s="does NOT"),
|
|
"have implicit copy assignment"
|