mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Data flow: Add stub expectsContent for all languages
This commit is contained in:
@@ -160,6 +160,12 @@ predicate clearsContent(Node n, Content c) {
|
||||
FlowSummaryImpl::Private::Steps::summaryClearsContent(n, c)
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if the value that is being tracked is expected to be stored inside content `c`
|
||||
* at node `n`.
|
||||
*/
|
||||
predicate expectsContent(Node n, ContentSet c) { none() }
|
||||
|
||||
/**
|
||||
* Gets a representative (boxed) type for `t` for the purpose of pruning
|
||||
* possible flow. A single type is used for all numeric types to account for
|
||||
|
||||
Reference in New Issue
Block a user