mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[XCOFF] Add back extern template declarations
The extern template declarations were fine. The duplicate explicit instantiations were both in the .cpp file.
This commit is contained in:
parent
0668ae6ade
commit
86bf6561fe
@ -60,6 +60,12 @@ public:
|
||||
bool isReservedSectionType() const;
|
||||
};
|
||||
|
||||
// Explicit extern template declarations.
|
||||
struct XCOFFSectionHeader32;
|
||||
struct XCOFFSectionHeader64;
|
||||
extern template struct XCOFFSectionHeader<XCOFFSectionHeader32>;
|
||||
extern template struct XCOFFSectionHeader<XCOFFSectionHeader64>;
|
||||
|
||||
struct XCOFFSectionHeader32 : XCOFFSectionHeader<XCOFFSectionHeader32> {
|
||||
char Name[XCOFF::NameSize];
|
||||
support::ubig32_t PhysicalAddress;
|
||||
|
Loading…
Reference in New Issue
Block a user