Standardize location of storage-class specifiers: Place at beginning of declarations

Justification: C99 specifies that doing otherwise is an obsolescent feature.
This commit is contained in:
MerryMage 2017-09-29 01:23:45 +01:00
parent b992e5f8ec
commit 29471be317
7 changed files with 7 additions and 7 deletions

View file

@ -50,7 +50,7 @@ const char* GetNameOf(Opcode op) {
}
const char* GetNameOf(Type type) {
const static std::array<const char*, 12> names = {
static const std::array<const char*, 12> names = {
"Void", "RegRef", "ExtRegRef", "Opaque", "U1", "U8", "U16", "U32", "U64", "F32", "F64", "CoprocInfo"
};
return names.at(static_cast<size_t>(type));