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 LLVM_CLANG_DRIVER_UTIL_H 11#define LLVM_CLANG_DRIVER_UTIL_H 12 13#include "clang/Basic/LLVM.h" 14#include "llvm/ADT/DenseMap.h" 15 16namespace clang { 17class DiagnosticsEngine; 18 19namespace 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 33