2007-10-07 14:04:32 +08:00
|
|
|
//===--- ASTConsumers.h - ASTConsumer implementations -----------*- C++ -*-===//
|
2007-06-23 08:39:57 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-10-07 14:04:32 +08:00
|
|
|
// This file was developed by Chris Lattner and is distributed under the
|
2007-06-23 08:39:57 +08:00
|
|
|
// University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2007-10-07 14:04:32 +08:00
|
|
|
// AST Consumers.
|
2007-06-23 08:39:57 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2007-10-07 14:04:32 +08:00
|
|
|
#ifndef DRIVER_ASTCONSUMERS_H
|
|
|
|
#define DRIVER_ASTCONSUMERS_H
|
2007-06-23 08:39:57 +08:00
|
|
|
|
2007-11-28 05:46:50 +08:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2007-06-23 08:39:57 +08:00
|
|
|
namespace clang {
|
|
|
|
|
2007-09-16 06:56:56 +08:00
|
|
|
class ASTConsumer;
|
2007-09-16 07:21:08 +08:00
|
|
|
class Diagnostic;
|
2007-11-28 13:34:05 +08:00
|
|
|
struct LangOptions;
|
2007-06-23 08:39:57 +08:00
|
|
|
|
2007-11-28 05:46:50 +08:00
|
|
|
ASTConsumer *CreateASTPrinter(FILE* FP = NULL);
|
2007-09-16 07:02:28 +08:00
|
|
|
ASTConsumer *CreateASTDumper();
|
2007-09-20 05:29:43 +08:00
|
|
|
ASTConsumer *CreateASTViewer();
|
2007-09-16 07:21:08 +08:00
|
|
|
ASTConsumer *CreateCFGDumper(bool ViewGraphs = false);
|
|
|
|
ASTConsumer *CreateLiveVarAnalyzer();
|
|
|
|
ASTConsumer *CreateDeadStoreChecker(Diagnostic &Diags);
|
2007-09-18 04:49:30 +08:00
|
|
|
ASTConsumer *CreateUnitValsChecker(Diagnostic &Diags);
|
2007-11-28 13:34:05 +08:00
|
|
|
ASTConsumer *CreateLLVMEmitter(Diagnostic &Diags, const LangOptions &Features);
|
2007-10-11 08:43:27 +08:00
|
|
|
ASTConsumer *CreateCodeRewriterTest();
|
2007-10-17 07:37:27 +08:00
|
|
|
ASTConsumer *CreateSerializationTest();
|
2007-09-07 07:00:42 +08:00
|
|
|
|
2007-06-23 08:39:57 +08:00
|
|
|
} // end clang namespace
|
|
|
|
|
|
|
|
#endif
|