]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/llvm/tools/clang/include/clang/Driver/Util.h
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / llvm / tools / clang / include / clang / Driver / Util.h
1 //===--- Util.h - Common Driver Utilities -----------------------*- 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 #ifndef CLANG_DRIVER_UTIL_H_
11 #define CLANG_DRIVER_UTIL_H_
12
13 #include "clang/Basic/LLVM.h"
14 #include "llvm/ADT/DenseMap.h"
15
16 namespace clang {
17 class DiagnosticsEngine;
18
19 namespace driver {
20   class Action;
21   class JobAction;
22
23   /// ArgStringMap - Type used to map a JobAction to its result file.
24   typedef llvm::DenseMap<const JobAction*, const char*> ArgStringMap;
25
26   /// ActionList - Type used for lists of actions.
27   typedef SmallVector<Action*, 3> ActionList;
28
29 } // end namespace driver
30 } // end namespace clang
31
32 #endif