clang-tidy: run modernize-concat-nested-namespaces
This commit is contained in:
parent
d2b475ae41
commit
1b565f9879
|
@ -16,10 +16,7 @@
|
|||
Initial code by skmp, now part of the reicast project.
|
||||
See LICENSE & COPYRIGHT files further details
|
||||
*/
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace dsp
|
||||
namespace aica::dsp
|
||||
{
|
||||
|
||||
DSPState state;
|
||||
|
@ -152,5 +149,4 @@ void step()
|
|||
runStep();
|
||||
}
|
||||
|
||||
} // namespace dsp
|
||||
} // namespace aica
|
||||
} // namespace aica::dsp
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
#include "types.h"
|
||||
#include "serialize.h"
|
||||
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace dsp
|
||||
namespace aica::dsp
|
||||
{
|
||||
|
||||
struct DSPState
|
||||
|
@ -104,5 +101,4 @@ void DecodeInst(const u32 *IPtr, Instruction *i);
|
|||
u16 DYNACALL PACK(s32 val);
|
||||
s32 DYNACALL UNPACK(u16 val);
|
||||
|
||||
} // namespace dsp
|
||||
} // namespace aica
|
||||
} // namespace aica::dsp
|
||||
|
|
|
@ -27,10 +27,7 @@
|
|||
#include "aica_if.h"
|
||||
#include "oslib/virtmem.h"
|
||||
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace dsp
|
||||
namespace aica::dsp
|
||||
{
|
||||
|
||||
constexpr size_t CodeBufferSize = 32_KB;
|
||||
|
@ -450,6 +447,5 @@ void runStep()
|
|||
((void (*)())&pCodeBuffer[0])();
|
||||
}
|
||||
|
||||
} // namespace dsp
|
||||
} // namespace aica
|
||||
} // namespace aica::dsp
|
||||
#endif
|
||||
|
|
|
@ -45,10 +45,7 @@
|
|||
#define clip_verify(x)
|
||||
#endif
|
||||
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace sgc
|
||||
namespace aica::sgc
|
||||
{
|
||||
//Sound generation, mixin, and channel regs emulation
|
||||
//x.15
|
||||
|
@ -1622,5 +1619,4 @@ void deserialize(Deserializer& deser)
|
|||
}
|
||||
}
|
||||
|
||||
} // namespace sgc
|
||||
} // namespace aica
|
||||
} // namespace aica::sgc
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
#pragma once
|
||||
#include "types.h"
|
||||
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace sgc
|
||||
namespace aica::sgc
|
||||
{
|
||||
|
||||
void AICA_Sample();
|
||||
|
@ -62,5 +59,4 @@ void serialize(Serializer& ctx);
|
|||
void deserialize(Deserializer& ctx);
|
||||
void vmuBeep(int on, int period);
|
||||
|
||||
} // namespace sgc
|
||||
} // namespace aica
|
||||
} // namespace aica::sgc
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
#include "arm_mem.h"
|
||||
#include "arm7_rec.h"
|
||||
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace arm
|
||||
namespace aica::arm
|
||||
{
|
||||
|
||||
#define CPUReadMemoryQuick(addr) (*(u32*)&aica_ram[(addr) & ARAM_MASK])
|
||||
|
@ -409,5 +406,4 @@ template void DYNACALL MSR_do<1>(u32 v);
|
|||
} // namespace recompiler
|
||||
#endif // FEAT_AREC != DYNAREC_NONE
|
||||
|
||||
} // namespace arm
|
||||
} // namespace aica
|
||||
} // namespace aica::arm
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
#pragma once
|
||||
#include "types.h"
|
||||
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace arm
|
||||
namespace aica::arm
|
||||
{
|
||||
|
||||
void init();
|
||||
|
@ -114,5 +111,4 @@ extern bool Arm7Enabled;
|
|||
void CPUFiq();
|
||||
void CPUUpdateCPSR();
|
||||
|
||||
} // namespace arm
|
||||
} // namespace aica
|
||||
} // namespace aica::arm
|
||||
|
|
|
@ -34,10 +34,7 @@
|
|||
#include <sstream>
|
||||
#endif
|
||||
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace arm
|
||||
namespace aica::arm
|
||||
{
|
||||
|
||||
#define arm_printf(...) DEBUG_LOG(AICA_ARM, __VA_ARGS__)
|
||||
|
@ -770,6 +767,5 @@ void avoidRaceCondition()
|
|||
arm_Reg[CYCL_CNT].I = std::max((int)arm_Reg[CYCL_CNT].I, 50);
|
||||
}
|
||||
|
||||
} // namespace arm
|
||||
} // namespace aica
|
||||
} // namespace aica::arm
|
||||
#endif // FEAT_AREC != DYNAREC_NONE
|
||||
|
|
|
@ -23,10 +23,7 @@
|
|||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace arm
|
||||
namespace aica::arm
|
||||
{
|
||||
|
||||
struct ArmOp
|
||||
|
@ -468,5 +465,4 @@ extern void (*arm_compilecode)();
|
|||
using arm_mainloop_t = void (*)(reg_pair *arm_regs, void (*entrypoints[])());
|
||||
extern arm_mainloop_t arm_mainloop;
|
||||
|
||||
} // namespace arm
|
||||
} // namespace aica
|
||||
} // namespace aica::arm
|
||||
|
|
|
@ -29,9 +29,7 @@ using namespace Xbyak::util;
|
|||
#include "oslib/oslib.h"
|
||||
#include "oslib/virtmem.h"
|
||||
|
||||
namespace aica
|
||||
{
|
||||
namespace arm
|
||||
namespace aica::arm
|
||||
{
|
||||
|
||||
static void (*arm_dispatch)();
|
||||
|
@ -1022,6 +1020,5 @@ void arm7backend_flush()
|
|||
virtmem::jit_set_exec(protStart, protSize, true);
|
||||
}
|
||||
|
||||
} // namespace arm
|
||||
} // namespace aica
|
||||
} // namespace aica::arm
|
||||
#endif // X64 && DYNAREC_JIT
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
#include "arm_mem.h"
|
||||
#include "hw/aica/aica_mem.h"
|
||||
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace arm
|
||||
namespace aica::arm
|
||||
{
|
||||
|
||||
#define REG_L (0x2D00)
|
||||
|
@ -97,5 +94,4 @@ template void writeReg<>(u32 adr, u8 data);
|
|||
template void writeReg<>(u32 adr, u16 data);
|
||||
template void writeReg<>(u32 adr, u32 data);
|
||||
|
||||
} // namespace arm
|
||||
} // namespace aica
|
||||
} // namespace aica::arm
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
#include "types.h"
|
||||
#include "hw/aica/aica_if.h"
|
||||
|
||||
namespace aica
|
||||
{
|
||||
|
||||
namespace arm
|
||||
namespace aica::arm
|
||||
{
|
||||
|
||||
template <typename T> T readReg(u32 addr);
|
||||
|
@ -56,5 +53,4 @@ extern u32 e68k_reg_M;
|
|||
void update_armintc();
|
||||
void interruptChange(u32 bits, u32 L);
|
||||
|
||||
} // namespace arm
|
||||
} // namespace aica
|
||||
} // namespace aica::arm
|
||||
|
|
Loading…
Reference in New Issue