mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
CPP: Deprecate Interface and remove the test.
This commit is contained in:
@@ -1116,8 +1116,9 @@ class PartialClassTemplateSpecialization extends ClassTemplateSpecialization {
|
|||||||
* };
|
* };
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
|
* DEPRECATED: This class is considered to be too specific for general usage.
|
||||||
*/
|
*/
|
||||||
class Interface extends Class {
|
deprecated class Interface extends Class {
|
||||||
Interface() {
|
Interface() {
|
||||||
forex(Declaration m | m.getDeclaringType() = this.getABaseClass*() and not compgenerated(unresolveElement(m)) | m instanceof PureVirtualFunction)
|
forex(Declaration m | m.getDeclaringType() = this.getABaseClass*() and not compgenerated(unresolveElement(m)) | m instanceof PureVirtualFunction)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
| virtual_functions.cpp:1:7:1:7 | A |
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
import cpp
|
|
||||||
|
|
||||||
from Interface i
|
|
||||||
select i
|
|
||||||
Reference in New Issue
Block a user