[PATCH] D45555: Fix a link failure in applyChanges()

Heejin Ahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 12 00:08:33 PDT 2018


aheejin created this revision.
aheejin added a reviewer: jdemeule.
Herald added subscribers: cfe-commits, mgorny, klimek.

This call
(https://github.com/llvm-mirror/clang-tools-extra/blob/e6bfa666d96c0d3010bb7d572f6240424ebd1cff/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp#L228-L229)
to tooling::applyAtomicChanges() introduced in https://reviews.llvm.org/D43764 (https://reviews.llvm.org/rL329813) caused
a undefined reference error when built with `-DBUILD_SHARED_LIB=ON`.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45555

Files:
  clang-apply-replacements/CMakeLists.txt


Index: clang-apply-replacements/CMakeLists.txt
===================================================================
--- clang-apply-replacements/CMakeLists.txt
+++ clang-apply-replacements/CMakeLists.txt
@@ -10,6 +10,7 @@
   clangBasic
   clangRewrite
   clangToolingCore
+  clangToolingRefactor
   )
 
 include_directories(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45555.142120.patch
Type: text/x-patch
Size: 324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180412/8718027a/attachment.bin>


More information about the cfe-commits mailing list