1 //===--- Utils.h - Misc utilities for the front-end -------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This header contains miscellaneous utilities for various front-end actions
11 // which were split from Frontend to minimise Frontend's dependencies.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_CLANG_FRONTENDTOOL_UTILS_H
16 #define LLVM_CLANG_FRONTENDTOOL_UTILS_H
20 class CompilerInstance;
22 /// ExecuteCompilerInvocation - Execute the given actions described by the
23 /// compiler invocation object in the given compiler instance.
25 /// \return - True on success.
26 bool ExecuteCompilerInvocation(CompilerInstance *Clang);
28 } // end namespace clang