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 namespace llvm { 14 template<typename T, unsigned N> class SmallVector; 15 } 16 17 namespace clang { 18 namespace driver { 19 class Action; 20 21 /// ArgStringList - Type used for constructing argv lists for subprocesses. 22 typedef llvm::SmallVector<const char*, 16> ArgStringList; 23 24 /// ActionList - Type used for lists of actions. 25 typedef llvm::SmallVector<Action*, 3> ActionList; 26 27 } // end namespace driver 28 } // end namespace clang 29 30 #endif 31