clang API Documentation
00001 //===--- Utils.h - Misc utilities for the front-end -------------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This header contains miscellaneous utilities for various front-end actions 00011 // which were split from Frontend to minimise Frontend's dependencies. 00012 // 00013 //===----------------------------------------------------------------------===// 00014 00015 #ifndef LLVM_CLANG_FRONTENDTOOL_UTILS_H 00016 #define LLVM_CLANG_FRONTENDTOOL_UTILS_H 00017 00018 namespace clang { 00019 00020 class CompilerInstance; 00021 00022 /// ExecuteCompilerInvocation - Execute the given actions described by the 00023 /// compiler invocation object in the given compiler instance. 00024 /// 00025 /// \return - True on success. 00026 bool ExecuteCompilerInvocation(CompilerInstance *Clang); 00027 00028 } // end namespace clang 00029 00030 #endif