From 22633f85bb7d317ff97c86b6ae7817b678777d93 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 5 Feb 2020 22:29:59 +0200 Subject: [LLDB] Fix compilation with GCC 5 Differential Revision: https://reviews.llvm.org/D74084 (cherry picked from commit 5bbaf543585c54868f8a2bdd9e74edcf395b24b3) --- lldb/source/DataFormatters/LanguageCategory.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lldb/source/DataFormatters/LanguageCategory.cpp') diff --git a/lldb/source/DataFormatters/LanguageCategory.cpp b/lldb/source/DataFormatters/LanguageCategory.cpp index e18ec0feaa8..daf8c7af7d1 100644 --- a/lldb/source/DataFormatters/LanguageCategory.cpp +++ b/lldb/source/DataFormatters/LanguageCategory.cpp @@ -55,6 +55,8 @@ bool LanguageCategory::Get(FormattersMatchData &match_data, return result; } +namespace lldb_private { + /// Explicit instantiations for the three types. /// \{ template bool @@ -83,6 +85,8 @@ auto &LanguageCategory::GetHardcodedFinder() { return m_hardcoded_synthetics; } +} // namespace lldb_private + template bool LanguageCategory::GetHardcoded(FormatManager &fmt_mgr, FormattersMatchData &match_data, -- cgit v1.2.3