Latest linter.
This commit is contained in:
parent
8494ca2eaa
commit
cb701fcb7c
|
@ -15,6 +15,8 @@ Desktop.ini
|
||||||
# Projects/IDE files
|
# Projects/IDE files
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
|
*~
|
||||||
|
|
||||||
# Sublime Text
|
# Sublime Text
|
||||||
*.sublime-project
|
*.sublime-project
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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) \
|
||||||
|
|
|
@ -26,8 +26,7 @@ const RegisterInfo* RegisterFile::GetRegisterInfo(uint32_t index) {
|
||||||
RegisterInfo::Type::type, #name, \
|
RegisterInfo::Type::type, #name, \
|
||||||
}; \
|
}; \
|
||||||
return ®_info; \
|
return ®_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
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue