Cleaning up some clang issues.
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
#ifndef ALLOY_ARENA_H_
|
#ifndef ALLOY_ARENA_H_
|
||||||
#define ALLOY_ARENA_H_
|
#define ALLOY_ARENA_H_
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
namespace alloy {
|
namespace alloy {
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
#include <poly/assert.h>
|
#include <poly/assert.h>
|
||||||
#include <poly/math.h>
|
#include <poly/math.h>
|
||||||
|
#include <xenia/profiling.h>
|
||||||
|
|
||||||
namespace alloy {
|
namespace alloy {
|
||||||
namespace backend {
|
namespace backend {
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#ifndef ALLOY_FRONTEND_CONTEXT_INFO_H_
|
#ifndef ALLOY_FRONTEND_CONTEXT_INFO_H_
|
||||||
#define ALLOY_FRONTEND_CONTEXT_INFO_H_
|
#define ALLOY_FRONTEND_CONTEXT_INFO_H_
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
namespace alloy {
|
namespace alloy {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include <alloy/runtime/debug_info.h>
|
#include <alloy/runtime/debug_info.h>
|
||||||
|
|
||||||
#include <memory>
|
#include <cstdlib>
|
||||||
|
|
||||||
namespace alloy {
|
namespace alloy {
|
||||||
namespace runtime {
|
namespace runtime {
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#ifndef ALLOY_RUNTIME_DEBUG_INFO_H_
|
#ifndef ALLOY_RUNTIME_DEBUG_INFO_H_
|
||||||
#define ALLOY_RUNTIME_DEBUG_INFO_H_
|
#define ALLOY_RUNTIME_DEBUG_INFO_H_
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
namespace alloy {
|
namespace alloy {
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ void log_line(const char* file_path, const uint32_t line_number,
|
|||||||
#if 0 // defined(OutputDebugString)
|
#if 0 // defined(OutputDebugString)
|
||||||
OutputDebugStringA(buffer);
|
OutputDebugStringA(buffer);
|
||||||
#else
|
#else
|
||||||
fprintf(stdout, buffer);
|
fprintf(stdout, "%s", buffer);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
#endif // OutputDebugString
|
#endif // OutputDebugString
|
||||||
if (!FLAGS_fast_stdout) {
|
if (!FLAGS_fast_stdout) {
|
||||||
@@ -102,7 +102,7 @@ void handle_fatal(const char* file_path, const uint32_t line_number,
|
|||||||
#if defined(OutputDebugString)
|
#if defined(OutputDebugString)
|
||||||
OutputDebugStringA(buffer);
|
OutputDebugStringA(buffer);
|
||||||
#else
|
#else
|
||||||
fprintf(stderr, buffer);
|
fprintf(stderr, "%s", buffer);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
#endif // OutputDebugString
|
#endif // OutputDebugString
|
||||||
if (!FLAGS_fast_stdout) {
|
if (!FLAGS_fast_stdout) {
|
||||||
|
|||||||
Reference in New Issue
Block a user