forked from OSchip/llvm-project
AnnotateFunctions: Tweak for mingw.
- Externalize the registry. - Update libdeps. llvm-svn: 265301
This commit is contained in:
parent
428a9f95a4
commit
cacd94e242
|
@ -3,7 +3,9 @@ add_llvm_loadable_module(AnnotateFunctions AnnotateFunctions.cpp)
|
|||
if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
|
||||
target_link_libraries(AnnotateFunctions ${cmake_2_8_12_PRIVATE}
|
||||
clangAST
|
||||
clangBasic
|
||||
clangFrontend
|
||||
clangLex
|
||||
LLVMSupport
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -1943,4 +1943,6 @@ typedef llvm::Registry<PragmaHandler> PragmaHandlerRegistry;
|
|||
|
||||
} // end namespace clang
|
||||
|
||||
extern template class llvm::Registry<clang::PragmaHandler>;
|
||||
|
||||
#endif
|
||||
|
|
|
@ -53,6 +53,8 @@
|
|||
#include "llvm/Support/raw_ostream.h"
|
||||
using namespace clang;
|
||||
|
||||
template class llvm::Registry<clang::PragmaHandler>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
ExternalPreprocessorSource::~ExternalPreprocessorSource() { }
|
||||
|
||||
|
|
Loading…
Reference in New Issue