зеркало из https://github.com/github/codeql.git
CPP: Deprecate Interface and remove the test.
This commit is contained in:
Родитель
49f6ac7358
Коммит
0029a33ee6
|
@ -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() {
|
||||
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
|
Загрузка…
Ссылка в новой задаче