r362812 - AST Matchers tutorial requests to enable clang-tools-extra. NFC

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 7 09:31:06 PDT 2019


Author: ibiryukov
Date: Fri Jun  7 09:31:06 2019
New Revision: 362812

URL: http://llvm.org/viewvc/llvm-project?rev=362812&view=rev
Log:
AST Matchers tutorial requests to enable clang-tools-extra. NFC

Otherwise the examples do not build.

Modified:
    cfe/trunk/docs/LibASTMatchersTutorial.rst

Modified: cfe/trunk/docs/LibASTMatchersTutorial.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LibASTMatchersTutorial.rst?rev=362812&r1=362811&r2=362812&view=diff
==============================================================================
--- cfe/trunk/docs/LibASTMatchersTutorial.rst (original)
+++ cfe/trunk/docs/LibASTMatchersTutorial.rst Fri Jun  7 09:31:06 2019
@@ -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.




More information about the cfe-commits mailing list