From 2cb3bfe9759a134a2e85207643109b69a86c4bf7 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 7 Nov 2019 09:39:13 -0800 Subject: Revert "[XCOFF] Fix link errors from explicit template instantiation" This reverts commit c989993ba1a666f04f7aee7df51d9f4de0588b71. maskray already fixed the explicit instantiation definition in the .cpp file, and these extern template declarations seem to be causing warnings that I don't understand. --- llvm/lib/Object/XCOFFObjectFile.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp') diff --git a/llvm/lib/Object/XCOFFObjectFile.cpp b/llvm/lib/Object/XCOFFObjectFile.cpp index 3ea42bb8b0e..5ca2a6a03f0 100644 --- a/llvm/lib/Object/XCOFFObjectFile.cpp +++ b/llvm/lib/Object/XCOFFObjectFile.cpp @@ -61,10 +61,6 @@ bool XCOFFSectionHeader::isReservedSectionType() const { return getSectionType() & SectionFlagsReservedMask; } -// Explictly instantiate template classes. -template struct XCOFFSectionHeader; -template struct XCOFFSectionHeader; - bool XCOFFRelocation32::isRelocationSigned() const { return Info & XR_SIGN_INDICATOR_MASK; } -- cgit v1.2.3