]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/llvm/tools/clang/include/clang/FrontendTool/Utils.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / llvm / tools / clang / include / clang / FrontendTool / Utils.h
1 //===--- Utils.h - Misc utilities for the front-end -------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 //  This header contains miscellaneous utilities for various front-end actions
11 //  which were split from Frontend to minimise Frontend's dependencies.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_CLANG_FRONTENDTOOL_UTILS_H
16 #define LLVM_CLANG_FRONTENDTOOL_UTILS_H
17
18 namespace clang {
19
20 class CompilerInstance;
21
22 /// ExecuteCompilerInvocation - Execute the given actions described by the
23 /// compiler invocation object in the given compiler instance.
24 ///
25 /// \return - True on success.
26 bool ExecuteCompilerInvocation(CompilerInstance *Clang);
27
28 }  // end namespace clang
29
30 #endif