mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
10 lines
179 B
Plaintext
10 lines
179 B
Plaintext
/**
|
|
* @name Friends1
|
|
* @description Check that a class depends on its friend class.
|
|
*/
|
|
import cpp
|
|
|
|
from MetricClass c, Class f1
|
|
where c.getAClassDependency() = f1
|
|
select c, f1
|