summaryrefslogtreecommitdiffstats
path: root/include/clang/Driver/Util.h
blob: 52f268d182a864c6a4850831e49815cc8b331238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//===--- Util.h - Common Driver Utilities -----------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef CLANG_DRIVER_UTIL_H_
#define CLANG_DRIVER_UTIL_H_

namespace llvm {
  template<typename T, unsigned N> class SmallVector;
}

namespace clang {
namespace driver {
  class Action;

  /// ArgStringList - Type used for constructing argv lists for subprocesses.
  typedef llvm::SmallVector<const char*, 16> ArgStringList;

  /// ActionList - Type used for lists of actions.
  typedef llvm::SmallVector<Action*, 3> ActionList;

} // end namespace driver
} // end namespace clang

#endif
OpenPOWER on IntegriCloud