1 //===--- Util.h - Common Driver Utilities -----------------------*- 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 #ifndef CLANG_DRIVER_UTIL_H_
11 #define CLANG_DRIVER_UTIL_H_
13 #include "clang/Basic/LLVM.h"
14 #include "llvm/ADT/DenseMap.h"
21 /// ArgStringList - Type used for constructing argv lists for subprocesses.
22 typedef SmallVector<const char*, 16> ArgStringList;
24 /// ArgStringMap - Type used to map a JobAction to its result file.
25 typedef llvm::DenseMap<const JobAction*, const char*> ArgStringMap;
27 /// ActionList - Type used for lists of actions.
28 typedef SmallVector<Action*, 3> ActionList;
30 } // end namespace driver
31 } // end namespace clang