Skip to content

Commit 14c419a

Browse files
committed
autoformatting
1 parent 01cac13 commit 14c419a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

cpp/ql/src/semmle/code/cpp/commons/CommonType.qll

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ abstract class MaximumWidthIntegralType extends UserType {
8888
* A common base type for describing enum types that are based on fixed-width types.
8989
*/
9090
class FixedWidthEnumType extends UserType {
91-
FixedWidthEnumType() {
92-
this.(Enum).getExplicitUnderlyingType() instanceof FixedWidthIntegralType
93-
}
91+
FixedWidthEnumType() { this.(Enum).getExplicitUnderlyingType() instanceof FixedWidthIntegralType }
9492
}
9593

9694
/**
@@ -313,9 +311,7 @@ class UInt_fast64_t extends MinimumWidthIntegralType {
313311
* The C/C++ `intmax_t` type.
314312
*/
315313
class Intmax_t extends MaximumWidthIntegralType {
316-
Intmax_t() {
317-
this.hasGlobalOrStdName("intmax_t")
318-
}
314+
Intmax_t() { this.hasGlobalOrStdName("intmax_t") }
319315

320316
override string getAPrimaryQlClass() { result = "Intmax_t" }
321317
}
@@ -324,9 +320,7 @@ class Intmax_t extends MaximumWidthIntegralType {
324320
* The C/C++ `uintmax_t` type.
325321
*/
326322
class Uintmax_t extends MaximumWidthIntegralType {
327-
Uintmax_t() {
328-
this.hasGlobalOrStdName("uintmax_t")
329-
}
323+
Uintmax_t() { this.hasGlobalOrStdName("uintmax_t") }
330324

331325
override string getAPrimaryQlClass() { result = "Uintmax_t" }
332326
}

0 commit comments

Comments
 (0)