2008-02-06 03:23:21 +03:00
|
|
|
//===--- ParseAST.h - Define the ParseAST method ----------------*- C++ -*-===//
|
2007-07-11 21:01:13 +04:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 22:59:25 +03:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2007-07-11 21:01:13 +04:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2008-02-06 03:23:21 +03:00
|
|
|
// This file defines the clang::ParseAST method.
|
2007-07-11 21:01:13 +04:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2008-02-06 03:23:21 +03:00
|
|
|
#ifndef LLVM_CLANG_SEMA_PARSEAST_H
|
|
|
|
#define LLVM_CLANG_SEMA_PARSEAST_H
|
2007-07-11 21:01:13 +04:00
|
|
|
|
|
|
|
namespace clang {
|
|
|
|
class Preprocessor;
|
2007-09-16 02:56:56 +04:00
|
|
|
class ASTConsumer;
|
|
|
|
|
|
|
|
/// ParseAST - Parse the entire file specified, notifying the ASTConsumer as
|
2007-11-03 09:24:16 +03:00
|
|
|
/// the file is parsed. This takes ownership of the ASTConsumer and
|
|
|
|
/// ultimately deletes it.
|
2008-08-07 23:47:41 +04:00
|
|
|
void ParseAST(Preprocessor &pp, ASTConsumer *C, bool PrintStats = false, bool DeleteConsumer = true);
|
2007-07-11 21:01:13 +04:00
|
|
|
} // end namespace clang
|
|
|
|
|
|
|
|
#endif
|