//===--- ASTUnit.cpp - ASTUnit utility ------------------------------------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// ASTUnit Implementation.////===----------------------------------------------------------------------===//#include"clang/Frontend/ASTUnit.h"#include"clang/Frontend/PCHWriter.h"#include"clang/AST/ASTContext.h"#include"clang/AST/ASTConsumer.h"#include"clang/AST/DeclVisitor.h"#include"clang/AST/StmtVisitor.h"#include"clang/Driver/Compilation.h"#include"clang/Driver/Driver.h"#include"clang/Driver/Job.h"#include"clang/Driver/Tool.h"#include"clang/Frontend/CompilerInstance.h"#include"clang/Frontend/FrontendActions.h"#include"clang/Frontend/FrontendDiagnostic.h"#include"clang/Frontend/FrontendOptions.h"#include"clang/Frontend/PCHReader.h"#include"clang/Lex/HeaderSearch.h"#include"clang/Lex/Preprocessor.h"#include"clang/Basic/TargetOptions.h"#include"clang/Basic/TargetInfo.h"#include"clang/Basic/Diagnostic.h"#include"llvm/Support/MemoryBuffer.h"#include"llvm/System/Host.h"