]> granicus.if.org Git - clang/commitdiff
Added link to HowToSetupToolingForLLVM.html. Added missing #include to the example.
authorAlexander Kornienko <alexfh@google.com>
Wed, 19 Sep 2012 15:17:49 +0000 (15:17 +0000)
committerAlexander Kornienko <alexfh@google.com>
Wed, 19 Sep 2012 15:17:49 +0000 (15:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164226 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LibTooling.html

index d896a5f8857620767837d8d1c8194ee255d1efa7..163d24a7f1a13a537cdee9a16ef8cb208c845097 100644 (file)
@@ -16,6 +16,8 @@
 <p>LibTooling is a library to support writing standalone tools based on
 Clang. This document will provide a basic walkthrough of how to write
 a tool using LibTooling.</p>
+<p>For the information on how to setup Clang Tooling for LLVM see
+<a href="HowToSetupToolingForLLVM.html">HowToSetupToolingForLLVM.html</a></p>
 
 <!-- ======================================================================= -->
 <h2 id="intro">Introduction</h2>
@@ -112,6 +114,7 @@ tool is also checked into the clang tree at tools/clang-check/ClangCheck.cpp.
 // Declares clang::SyntaxOnlyAction.
 #include "clang/Frontend/FrontendActions.h"
 #include "clang/Tooling/CommonOptionsParser.h"
+#include "clang/Tooling/Tooling.h"
 // Declares llvm::cl::extrahelp.
 #include "llvm/Support/CommandLine.h"