From 37e1b41f1b16af02e7be33cc92004f975e1eff22 Mon Sep 17 00:00:00 2001 From: Ilya Biryukov Date: Fri, 7 Jun 2019 16:31:06 +0000 Subject: [PATCH] AST Matchers tutorial requests to enable clang-tools-extra. NFC Otherwise the examples do not build. llvm-svn: 362812 --- clang/docs/LibASTMatchersTutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/docs/LibASTMatchersTutorial.rst b/clang/docs/LibASTMatchersTutorial.rst index b0f1217..878f808 100644 --- a/clang/docs/LibASTMatchersTutorial.rst +++ b/clang/docs/LibASTMatchersTutorial.rst @@ -50,7 +50,7 @@ Okay. Now we'll build Clang! cd ~/clang-llvm mkdir build && cd build - cmake -G Ninja ../llvm -DLLVM_ENABLE_PROJECTS=clang -DLLVM_BUILD_TESTS=ON # Enable tests; default is off. + cmake -G Ninja ../llvm -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DLLVM_BUILD_TESTS=ON # Enable tests; default is off. ninja ninja check # Test LLVM only. ninja clang-test # Test Clang only. -- 2.7.4