Adds a small tutorial on how to write RAV based ASTFrontendActions.

llvm-svn: 155627
This commit is contained in:
Manuel Klimek
2012-04-26 08:35:39 +00:00
parent 6699a60b0e
commit c01d3fbe0f
2 changed files with 223 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
#include "clang/AST/AST.h"
#include "clang/Frontend/CompilerInstance.h"
#include "llvm/Support/raw_ostream.h"
#include "clang/Frontend/FrontendActions.h"
using namespace clang;
namespace {
@@ -67,5 +68,5 @@ protected:
}
static FrontendPluginRegistry::Add<PrintFunctionNamesAction>
static FrontendPluginRegistry::Add<SyntaxOnlyAction>
X("print-fns", "print function names");