[CMake] clangApplyReplacement: Add clangAST in libdeps to appease msc builder.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 30 Oct 2014 03:22:32 +0000 (03:22 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 30 Oct 2014 03:22:32 +0000 (03:22 +0000)
  clangApplyReplacements.lib(ApplyReplacements.cpp.obj) : error LNK2001: unresolved external symbol "private: void __thiscall clang::APValue::DestroyDataAndMakeUninit(void)" (?DestroyDataAndMakeUninit@APValue@clang@@AAEXXZ)

They are not seen in mingw dll build. Investigating.

llvm-svn: 220895

clang-tools-extra/clang-apply-replacements/CMakeLists.txt

index 4b5fbb7..5366e02 100644 (file)
@@ -6,6 +6,7 @@ add_clang_library(clangApplyReplacements
   lib/Tooling/ApplyReplacements.cpp
 
   LINK_LIBS
+  clangAST
   clangBasic
   clangRewrite
   clangToolingCore