diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-22 17:34:03 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-22 17:34:03 +0200 |
commit | 186755fd56b58dc97250846c5305ef89f9487f86 (patch) | |
tree | 23860a4cf52df11b2c224ba6ea1a8521e5cfb403 /autotests | |
parent | a06ffb355573f3ad7d6ae475685843f18e38f2d4 (diff) | |
download | kconfig-186755fd56b58dc97250846c5305ef89f9487f86.tar.gz kconfig-186755fd56b58dc97250846c5305ef89f9487f86.tar.bz2 |
Add a trailing comma to last member in enum
GIT_SILENT
Diffstat (limited to 'autotests')
-rw-r--r-- | autotests/kconfig_compiler/test11_types.h | 7 | ||||
-rw-r--r-- | autotests/kconfigtest.h | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/autotests/kconfig_compiler/test11_types.h b/autotests/kconfig_compiler/test11_types.h index b6aa5d80..553ae54a 100644 --- a/autotests/kconfig_compiler/test11_types.h +++ b/autotests/kconfig_compiler/test11_types.h @@ -10,7 +10,12 @@ class TimePeriod { public: - enum Units { Minutes, HoursMinutes, Days, Weeks }; + enum Units { + Minutes, + HoursMinutes, + Days, + Weeks, + }; }; #endif diff --git a/autotests/kconfigtest.h b/autotests/kconfigtest.h index 1a248c74..cb6e3712 100644 --- a/autotests/kconfigtest.h +++ b/autotests/kconfigtest.h @@ -14,9 +14,9 @@ class KConfigTest : public QObject Q_OBJECT public: - enum Testing { Ones = 1, Tens = 10, Hundreds = 100}; + enum Testing { Ones = 1, Tens = 10, Hundreds = 100,}; Q_ENUM(Testing) - enum bits { bit0 = 1, bit1 = 2, bit2 = 4, bit3 = 8 }; + enum bits { bit0 = 1, bit1 = 2, bit2 = 4, bit3 = 8, }; Q_DECLARE_FLAGS(Flags, bits) Q_FLAG(Flags) |