mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Correct comment.
This commit is contained in:
@@ -20,10 +20,8 @@ class WideCharPointerType extends PointerType {
|
||||
}
|
||||
|
||||
/**
|
||||
* Recurse through types to find any intermediate type or final type
|
||||
* that suggests the type is unlikely to be a string.
|
||||
* Specifically looking for any unsigned character, or datatype with name containing "byte"
|
||||
* or datatype uint8_t.
|
||||
* Given type `cur`, recurses through all intermediate types to find
|
||||
* any intermediate type equal to type `targ`
|
||||
*/
|
||||
predicate hasIntermediateType(Type cur, Type targ) {
|
||||
cur = targ
|
||||
|
||||
Reference in New Issue
Block a user