Latest linter.

This commit is contained in:
Ben Vanik 2015-08-01 04:08:59 -07:00
parent 8494ca2eaa
commit cb701fcb7c
6 changed files with 12 additions and 13 deletions

2
.gitignore vendored
View File

@ -15,6 +15,8 @@ Desktop.ini
# Projects/IDE files # Projects/IDE files
# ============================================================================== # ==============================================================================
*~
# Sublime Text # Sublime Text
*.sublime-project *.sublime-project
*.sublime-workspace *.sublime-workspace

View File

@ -12,6 +12,7 @@
#include <atomic> #include <atomic>
#include <chrono> #include <chrono>
#include <climits>
#include <condition_variable> #include <condition_variable>
#include <cstdint> #include <cstdint>
#include <memory> #include <memory>

View File

@ -27,20 +27,16 @@ namespace cpu {
namespace hir { namespace hir {
#define ASSERT_ADDRESS_TYPE(value) \ #define ASSERT_ADDRESS_TYPE(value) \
\ assert_true((value->type) == INT32_TYPE || (value->type) == INT64_TYPE)
assert_true((value->type) == INT32_TYPE || (value->type) == INT64_TYPE)
#define ASSERT_CALL_ADDRESS_TYPE(value) \ #define ASSERT_CALL_ADDRESS_TYPE(value) \
\ assert_true((value->type) == INT32_TYPE || (value->type) == INT64_TYPE)
assert_true((value->type) == INT32_TYPE || (value->type) == INT64_TYPE) #define ASSERT_INTEGER_TYPE(value) \
#define ASSERT_INTEGER_TYPE(value) \ assert_true((value->type) == INT8_TYPE || (value->type) == INT16_TYPE || \
\ (value->type) == INT32_TYPE || (value->type) == INT64_TYPE)
assert_true((value->type) == INT8_TYPE || (value->type) == INT16_TYPE || \
(value->type) == INT32_TYPE || (value->type) == INT64_TYPE)
#define ASSERT_FLOAT_TYPE(value) \ #define ASSERT_FLOAT_TYPE(value) \
assert_true((value->type) == FLOAT32_TYPE || (value->type) == FLOAT64_TYPE) assert_true((value->type) == FLOAT32_TYPE || (value->type) == FLOAT64_TYPE)
#define ASSERT_NON_FLOAT_TYPE(value) \ #define ASSERT_NON_FLOAT_TYPE(value) \
\ assert_true((value->type) != FLOAT32_TYPE && (value->type) != FLOAT64_TYPE)
assert_true((value->type) != FLOAT32_TYPE && (value->type) != FLOAT64_TYPE)
#define ASSERT_NON_VECTOR_TYPE(value) assert_false((value->type) == VEC128_TYPE) #define ASSERT_NON_VECTOR_TYPE(value) assert_false((value->type) == VEC128_TYPE)
#define ASSERT_VECTOR_TYPE(value) assert_true((value->type) == VEC128_TYPE) #define ASSERT_VECTOR_TYPE(value) assert_true((value->type) == VEC128_TYPE)
#define ASSERT_FLOAT_OR_VECTOR_TYPE(value) \ #define ASSERT_FLOAT_OR_VECTOR_TYPE(value) \

View File

@ -26,8 +26,7 @@ const RegisterInfo* RegisterFile::GetRegisterInfo(uint32_t index) {
RegisterInfo::Type::type, #name, \ RegisterInfo::Type::type, #name, \
}; \ }; \
return &reg_info; \ return &reg_info; \
\ }
}
#include "xenia/gpu/register_table.inc" #include "xenia/gpu/register_table.inc"
#undef XE_GPU_REGISTER #undef XE_GPU_REGISTER
default: default:

@ -1 +1 @@
Subproject commit c0725a31caa3727cbdad03b707ab764ca3a8df15 Subproject commit 66048454a5b720eb32f6d1a117038a507001b975

View File

@ -275,6 +275,7 @@ def run_platform_premake():
run_premake('windows', 'vs2015') run_premake('windows', 'vs2015')
else: else:
run_premake('linux', 'gmake') run_premake('linux', 'gmake')
run_premake('linux', 'codelite')
def get_build_bin_path(args): def get_build_bin_path(args):