2929#include " llvm/ADT/StringRef.h"
3030#include " llvm/ADT/Twine.h"
3131#include " llvm/Config/config.h"
32+ #include " llvm/Support/Compiler.h"
3233#include " llvm/Support/ConvertUTF.h"
3334#include " llvm/Support/Debug.h"
3435#include " llvm/Support/Error.h"
@@ -54,24 +55,24 @@ using namespace cl;
5455//
5556namespace llvm {
5657namespace cl {
57- template class basic_parser <bool >;
58- template class basic_parser <boolOrDefault>;
59- template class basic_parser <int >;
60- template class basic_parser <long >;
61- template class basic_parser <long long >;
62- template class basic_parser <unsigned >;
63- template class basic_parser <unsigned long >;
64- template class basic_parser <unsigned long long >;
65- template class basic_parser <double >;
66- template class basic_parser <float >;
67- template class basic_parser <std::string>;
68- template class basic_parser <char >;
69-
70- template class opt <unsigned >;
71- template class opt <int >;
72- template class opt <std::string>;
73- template class opt <char >;
74- template class opt <bool >;
58+ template class LLVM_EXPORT_TEMPLATE basic_parser<bool >;
59+ template class LLVM_EXPORT_TEMPLATE basic_parser<boolOrDefault>;
60+ template class LLVM_EXPORT_TEMPLATE basic_parser<int >;
61+ template class LLVM_EXPORT_TEMPLATE basic_parser<long >;
62+ template class LLVM_EXPORT_TEMPLATE basic_parser<long long >;
63+ template class LLVM_EXPORT_TEMPLATE basic_parser<unsigned >;
64+ template class LLVM_EXPORT_TEMPLATE basic_parser<unsigned long >;
65+ template class LLVM_EXPORT_TEMPLATE basic_parser<unsigned long long >;
66+ template class LLVM_EXPORT_TEMPLATE basic_parser<double >;
67+ template class LLVM_EXPORT_TEMPLATE basic_parser<float >;
68+ template class LLVM_EXPORT_TEMPLATE basic_parser<std::string>;
69+ template class LLVM_EXPORT_TEMPLATE basic_parser<char >;
70+
71+ template class LLVM_EXPORT_TEMPLATE opt<unsigned >;
72+ template class LLVM_EXPORT_TEMPLATE opt<int >;
73+ template class LLVM_EXPORT_TEMPLATE opt<std::string>;
74+ template class LLVM_EXPORT_TEMPLATE opt<char >;
75+ template class LLVM_EXPORT_TEMPLATE opt<bool >;
7576} // namespace cl
7677} // namespace llvm
7778
0 commit comments