summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-08-28 23:29:39 +1000
committer Vas Crabb <vas@vastheman.com>2020-08-28 23:29:39 +1000
commit93df0c713d4bc4db1c0c9a7e0a48345d7c67e2a9 (patch)
tree4e25895a7f6c5bdb98b05ca765df782272c0995e /src/emu
parentd9f4c96fac0399d8336fd809f42e84ab3aa1a9ad (diff)
devfind.cpp: move explicit template instantiations below all member bodies to make clang behave
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/devfind.cpp163
1 files changed, 82 insertions, 81 deletions
diff --git a/src/emu/devfind.cpp b/src/emu/devfind.cpp
index 20c6e684da0..b2506e2fce3 100644
--- a/src/emu/devfind.cpp
+++ b/src/emu/devfind.cpp
@@ -9,92 +9,12 @@
***************************************************************************/
#include "emu.h"
+
#include "romload.h"
#include "validity.h"
//**************************************************************************
-// EXPLICIT TEMPLATE INSTANTIATIONS
-//**************************************************************************
-
-template class object_finder_base<memory_region, false>;
-template class object_finder_base<memory_region, true>;
-template class object_finder_base<memory_bank, false>;
-template class object_finder_base<memory_bank, true>;
-template class object_finder_base<ioport_port, false>;
-template class object_finder_base<ioport_port, true>;
-template class object_finder_base<address_space, false>;
-template class object_finder_base<address_space, true>;
-
-template class object_finder_base<u8, false>;
-template class object_finder_base<u8, true>;
-template class object_finder_base<u16, false>;
-template class object_finder_base<u16, true>;
-template class object_finder_base<u32, false>;
-template class object_finder_base<u32, true>;
-template class object_finder_base<u64, false>;
-template class object_finder_base<u64, true>;
-
-template class object_finder_base<s8, false>;
-template class object_finder_base<s8, true>;
-template class object_finder_base<s16, false>;
-template class object_finder_base<s16, true>;
-template class object_finder_base<s32, false>;
-template class object_finder_base<s32, true>;
-template class object_finder_base<s64, false>;
-template class object_finder_base<s64, true>;
-
-template class memory_region_finder<false>;
-template class memory_region_finder<true>;
-
-template class memory_bank_finder<false>;
-template class memory_bank_finder<true>;
-
-template class ioport_finder<false>;
-template class ioport_finder<true>;
-
-template class address_space_finder<false>;
-template class address_space_finder<true>;
-
-template class region_ptr_finder<u8, false>;
-template class region_ptr_finder<u8, true>;
-template class region_ptr_finder<u16, false>;
-template class region_ptr_finder<u16, true>;
-template class region_ptr_finder<u32, false>;
-template class region_ptr_finder<u32, true>;
-template class region_ptr_finder<u64, false>;
-template class region_ptr_finder<u64, true>;
-
-template class region_ptr_finder<s8, false>;
-template class region_ptr_finder<s8, true>;
-template class region_ptr_finder<s16, false>;
-template class region_ptr_finder<s16, true>;
-template class region_ptr_finder<s32, false>;
-template class region_ptr_finder<s32, true>;
-template class region_ptr_finder<s64, false>;
-template class region_ptr_finder<s64, true>;
-
-template class shared_ptr_finder<u8, false>;
-template class shared_ptr_finder<u8, true>;
-template class shared_ptr_finder<u16, false>;
-template class shared_ptr_finder<u16, true>;
-template class shared_ptr_finder<u32, false>;
-template class shared_ptr_finder<u32, true>;
-template class shared_ptr_finder<u64, false>;
-template class shared_ptr_finder<u64, true>;
-
-template class shared_ptr_finder<s8, false>;
-template class shared_ptr_finder<s8, true>;
-template class shared_ptr_finder<s16, false>;
-template class shared_ptr_finder<s16, true>;
-template class shared_ptr_finder<s32, false>;
-template class shared_ptr_finder<s32, true>;
-template class shared_ptr_finder<s64, false>;
-template class shared_ptr_finder<s64, true>;
-
-
-
-//**************************************************************************
// BASE FINDER CLASS
//**************************************************************************
@@ -438,3 +358,84 @@ bool address_space_finder<Required>::findit(validity_checker *valid)
this->m_target = this->find_addrspace(this->m_spacenum, this->m_data_width, Required);
return this->report_missing("address space");
}
+
+
+
+//**************************************************************************
+// EXPLICIT TEMPLATE INSTANTIATIONS
+//**************************************************************************
+
+template class object_finder_base<memory_region, false>;
+template class object_finder_base<memory_region, true>;
+template class object_finder_base<memory_bank, false>;
+template class object_finder_base<memory_bank, true>;
+template class object_finder_base<ioport_port, false>;
+template class object_finder_base<ioport_port, true>;
+template class object_finder_base<address_space, false>;
+template class object_finder_base<address_space, true>;
+
+template class object_finder_base<u8, false>;
+template class object_finder_base<u8, true>;
+template class object_finder_base<u16, false>;
+template class object_finder_base<u16, true>;
+template class object_finder_base<u32, false>;
+template class object_finder_base<u32, true>;
+template class object_finder_base<u64, false>;
+template class object_finder_base<u64, true>;
+
+template class object_finder_base<s8, false>;
+template class object_finder_base<s8, true>;
+template class object_finder_base<s16, false>;
+template class object_finder_base<s16, true>;
+template class object_finder_base<s32, false>;
+template class object_finder_base<s32, true>;
+template class object_finder_base<s64, false>;
+template class object_finder_base<s64, true>;
+
+template class memory_region_finder<false>;
+template class memory_region_finder<true>;
+
+template class memory_bank_finder<false>;
+template class memory_bank_finder<true>;
+
+template class ioport_finder<false>;
+template class ioport_finder<true>;
+
+template class address_space_finder<false>;
+template class address_space_finder<true>;
+
+template class region_ptr_finder<u8, false>;
+template class region_ptr_finder<u8, true>;
+template class region_ptr_finder<u16, false>;
+template class region_ptr_finder<u16, true>;
+template class region_ptr_finder<u32, false>;
+template class region_ptr_finder<u32, true>;
+template class region_ptr_finder<u64, false>;
+template class region_ptr_finder<u64, true>;
+
+template class region_ptr_finder<s8, false>;
+template class region_ptr_finder<s8, true>;
+template class region_ptr_finder<s16, false>;
+template class region_ptr_finder<s16, true>;
+template class region_ptr_finder<s32, false>;
+template class region_ptr_finder<s32, true>;
+template class region_ptr_finder<s64, false>;
+template class region_ptr_finder<s64, true>;
+
+template class shared_ptr_finder<u8, false>;
+template class shared_ptr_finder<u8, true>;
+template class shared_ptr_finder<u16, false>;
+template class shared_ptr_finder<u16, true>;
+template class shared_ptr_finder<u32, false>;
+template class shared_ptr_finder<u32, true>;
+template class shared_ptr_finder<u64, false>;
+template class shared_ptr_finder<u64, true>;
+
+template class shared_ptr_finder<s8, false>;
+template class shared_ptr_finder<s8, true>;
+template class shared_ptr_finder<s16, false>;
+template class shared_ptr_finder<s16, true>;
+template class shared_ptr_finder<s32, false>;
+template class shared_ptr_finder<s32, true>;
+template class shared_ptr_finder<s64, false>;
+template class shared_ptr_finder<s64, true>;