]> granicus.if.org Git - clang/commitdiff
AST Matchers tutorial requests to enable clang-tools-extra. NFC
authorIlya Biryukov <ibiryukov@google.com>
Fri, 7 Jun 2019 16:31:06 +0000 (16:31 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Fri, 7 Jun 2019 16:31:06 +0000 (16:31 +0000)
Otherwise the examples do not build.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362812 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LibASTMatchersTutorial.rst

index b0f1217de503f4558446694805325d28fe6862ac..878f8085de697e4105bdf637d5c5ef2264103235 100644 (file)
@@ -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.