Author: Georgy Komarov Date: 2021-07-05T12:11:25+03:00 New Revision: 3697f2683695a5e67184c4b348415f4da028133c
URL: https://github.com/llvm/llvm-project/commit/3697f2683695a5e67184c4b348415f4da028133c DIFF: https://github.com/llvm/llvm-project/commit/3697f2683695a5e67184c4b348415f4da028133c.diff LOG: [docs] Fix linking issues in LibASTMatchers tutorial Update CMakeLists.txt in the tutorial to reflect the latest changes in LLVM. The demo project cannot be linked without added libraries. Reviewed By: xgupta Differential Revision: https://reviews.llvm.org/D105409 Added: Modified: clang/docs/LibASTMatchersTutorial.rst Removed: ################################################################################ diff --git a/clang/docs/LibASTMatchersTutorial.rst b/clang/docs/LibASTMatchersTutorial.rst index f70173e9f83c9..3f396dd39ded1 100644 --- a/clang/docs/LibASTMatchersTutorial.rst +++ b/clang/docs/LibASTMatchersTutorial.rst @@ -105,9 +105,12 @@ CMakeLists.txt should have the following contents: ) target_link_libraries(loop-convert PRIVATE - clangTooling - clangBasic + clangAST clangASTMatchers + clangBasic + clangFrontend + clangSerialization + clangTooling ) With that done, Ninja will be able to compile our tool. Let's give it _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits