Removed all short enums comments as they're now properly solved by AllowShortEnumsOnASingleLine.

This commit is contained in:
Leon Styhre 2022-06-05 12:36:55 +02:00
parent 57f3cb7614
commit 0008e44294
18 changed files with 23 additions and 23 deletions

View file

@ -34,7 +34,7 @@ class Window;
struct SystemEnvironmentData;
enum CollectionSystemType {
AUTO_ALL_GAMES, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
AUTO_ALL_GAMES,
AUTO_LAST_PLAYED,
AUTO_FAVORITES,
CUSTOM_COLLECTION

View file

@ -56,7 +56,7 @@ struct MetaDataDecl {
};
enum MetaDataListType {
GAME_METADATA, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
GAME_METADATA,
FOLDER_METADATA
};

View file

@ -67,14 +67,14 @@ namespace
bool settingsNeedSaving {false};
enum loadSystemsReturnCode {
LOADING_OK, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
LOADING_OK,
INVALID_FILE,
NO_ROMS
};
#if defined(_WIN64)
enum win64ConsoleType {
NO_CONSOLE, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
NO_CONSOLE,
PARENT_CONSOLE,
ALLOCATED_CONSOLE
};

View file

@ -28,7 +28,7 @@ class FileData;
class SystemData;
enum downloadStatus {
NOT_STARTED, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
NOT_STARTED,
IN_PROGRESS,
COMPLETED
};

View file

@ -86,14 +86,14 @@ public:
void render(const glm::mat4& parentTrans) override;
enum ViewMode {
NOTHING, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
NOTHING,
START_SCREEN,
SYSTEM_SELECT,
GAMELIST
};
enum GamelistViewStyle {
AUTOMATIC, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
AUTOMATIC,
BASIC,
DETAILED,
VIDEO

View file

@ -12,7 +12,7 @@
#include <string>
enum AsyncHandleStatus {
ASYNC_IN_PROGRESS, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
ASYNC_IN_PROGRESS,
ASYNC_ERROR,
ASYNC_DONE
};

View file

@ -20,7 +20,7 @@
#define DEVICE_CEC -2
enum InputType {
TYPE_AXIS, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
TYPE_AXIS,
TYPE_BUTTON,
TYPE_KEY,
TYPE_CEC_BUTTON,

View file

@ -24,7 +24,7 @@
Log().get(level)
enum LogLevel {
LogError, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
LogError,
LogWarning,
LogInfo,
LogDebug

View file

@ -15,7 +15,7 @@
namespace GridFlags
{
enum UpdateType {
UPDATE_ALWAYS, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
UPDATE_ALWAYS,
UPDATE_WHEN_SELECTED,
UPDATE_NEVER
};

View file

@ -62,7 +62,7 @@ public:
ComponentList();
enum ScrollIndicator {
SCROLL_NONE, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
SCROLL_NONE,
SCROLL_UP,
SCROLL_UP_DOWN,
SCROLL_DOWN

View file

@ -20,7 +20,7 @@ class DateTimeEditComponent : public GuiComponent
{
public:
enum DisplayMode {
DISP_DATE, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
DISP_DATE,
DISP_DATE_TIME,
DISP_RELATIVE_TO_NOW
};

View file

@ -34,7 +34,7 @@ public:
}
enum class GameSelection {
RANDOM, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
RANDOM,
LAST_PLAYED,
MOST_PLAYED
};

View file

@ -14,12 +14,12 @@
#include "utils/StringUtil.h"
enum class CursorState {
CURSOR_STOPPED, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
CURSOR_STOPPED,
CURSOR_SCROLLING
};
enum class ListLoopType {
LIST_ALWAYS_LOOP, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
LIST_ALWAYS_LOOP,
LIST_PAUSE_AT_END,
LIST_PAUSE_AT_END_ON_JUMP,
LIST_NEVER_LOOP

View file

@ -18,12 +18,12 @@
#define EXTRAITEMS 2
enum ScrollDirection {
SCROLL_VERTICALLY, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
SCROLL_VERTICALLY,
SCROLL_HORIZONTALLY
};
enum ImageSource {
THUMBNAIL, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
THUMBNAIL,
IMAGE,
MIXIMAGE,
SCREENSHOT,

View file

@ -40,7 +40,7 @@ public:
using Entry = typename IList<CarouselEntry, T>::Entry;
enum class CarouselType {
HORIZONTAL, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
HORIZONTAL,
VERTICAL,
VERTICAL_WHEEL,
HORIZONTAL_WHEEL,

View file

@ -13,12 +13,12 @@ template <typename T> class PrimaryComponent : public virtual GuiComponent
{
public:
enum class PrimaryType {
CAROUSEL, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
CAROUSEL,
TEXTLIST
};
enum class PrimaryAlignment {
ALIGN_LEFT, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
ALIGN_LEFT,
ALIGN_CENTER,
ALIGN_RIGHT
};

View file

@ -22,7 +22,7 @@ class Renderer
{
public:
enum class TextureType {
RGBA, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
RGBA,
BGRA,
RED
};

View file

@ -20,7 +20,7 @@ namespace Utils
namespace Platform
{
enum QuitMode {
QUIT = 0, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
QUIT = 0,
REBOOT = 1,
POWEROFF = 2
};