mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-16 00:18:06 +00:00
Perform explicit instantiations in the proper namespace, since Clang diagnoses this ill-formity.
llvm-svn: 89846
This commit is contained in:
parent
4b197b8908
commit
2cb3662a53
@ -39,6 +39,7 @@ using namespace cl;
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Template instantiations and anchors.
|
||||
//
|
||||
namespace llvm { namespace cl {
|
||||
TEMPLATE_INSTANTIATION(class basic_parser<bool>);
|
||||
TEMPLATE_INSTANTIATION(class basic_parser<boolOrDefault>);
|
||||
TEMPLATE_INSTANTIATION(class basic_parser<int>);
|
||||
@ -53,6 +54,7 @@ TEMPLATE_INSTANTIATION(class opt<int>);
|
||||
TEMPLATE_INSTANTIATION(class opt<std::string>);
|
||||
TEMPLATE_INSTANTIATION(class opt<char>);
|
||||
TEMPLATE_INSTANTIATION(class opt<bool>);
|
||||
} } // end namespace llvm::cl
|
||||
|
||||
void Option::anchor() {}
|
||||
void basic_parser_impl::anchor() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user