mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
C++: Implement Function::hasErrors()
This commit is contained in:
@@ -89,5 +89,6 @@ from
|
||||
where
|
||||
conf.hasFlowPath(source, sink) and
|
||||
isSinkImpl(sink.getInstruction(), va) and
|
||||
v = va.getTarget()
|
||||
v = va.getTarget() and
|
||||
not v.getFunction().hasErrors()
|
||||
select va, source, sink, "The variable $@ may not be initialized at this access.", v, v.getName()
|
||||
|
||||
Reference in New Issue
Block a user