mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Update cpp/ql/src/semmle/code/cpp/Type.qll
Co-Authored-By: Jonas Jensen <jbj@github.com>
This commit is contained in:
@@ -355,7 +355,7 @@ private predicate isArithmeticType(@builtintype type, int kind) {
|
||||
*
|
||||
* This includes primitive types on which arithmetic, bitwise or logical
|
||||
* operations may be performed. Examples of arithmetic types include
|
||||
* `char`, `int`, `float` and `bool`.
|
||||
* `char`, `int`, `float`, and `bool`.
|
||||
*/
|
||||
class ArithmeticType extends BuiltInType {
|
||||
ArithmeticType() { isArithmeticType(underlyingElement(this), _) }
|
||||
|
||||
Reference in New Issue
Block a user