1 //===--- Util.h - Common Driver Utilities -----------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_DRIVER_UTIL_H
10 #define LLVM_CLANG_DRIVER_UTIL_H
12 #include "clang/Basic/LLVM.h"
13 #include "llvm/ADT/DenseMap.h"
16 class DiagnosticsEngine;
22 /// ArgStringMap - Type used to map a JobAction to its result file.
23 typedef llvm::DenseMap<const JobAction*, const char*> ArgStringMap;
25 /// ActionList - Type used for lists of actions.
26 typedef SmallVector<Action*, 3> ActionList;
28 } // end namespace driver
29 } // end namespace clang