1//===--- Util.h - Common Driver Utilities -----------------------*- C++ -*-===// 2// 3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4// See https://llvm.org/LICENSE.txt for license information. 5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6// 7//===----------------------------------------------------------------------===// 8 9#ifndef LLVM_CLANG_DRIVER_UTIL_H 10#define LLVM_CLANG_DRIVER_UTIL_H 11 12#include "clang/Basic/LLVM.h" 13#include "llvm/ADT/DenseMap.h" 14 15namespace clang { 16class DiagnosticsEngine; 17 18namespace driver { 19 class Action; 20 class JobAction; 21 22 /// ArgStringMap - Type used to map a JobAction to its result file. 23 typedef llvm::DenseMap<const JobAction*, const char*> ArgStringMap; 24 25 /// ActionList - Type used for lists of actions. 26 typedef SmallVector<Action*, 3> ActionList; 27 28} // end namespace driver 29} // end namespace clang 30 31#endif 32