Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 14 | pmbaty | 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 | |||
| 15 | namespace clang { |
||
| 16 | |||
| 17 | namespace driver { |
||
| 18 | class Action; |
||
| 19 | class JobAction; |
||
| 20 | |||
| 21 | /// ArgStringMap - Type used to map a JobAction to its result file. |
||
| 22 | typedef llvm::DenseMap<const JobAction*, const char*> ArgStringMap; |
||
| 23 | |||
| 24 | /// ActionList - Type used for lists of actions. |
||
| 25 | typedef SmallVector<Action*, 3> ActionList; |
||
| 26 | |||
| 27 | } // end namespace driver |
||
| 28 | } // end namespace clang |
||
| 29 | |||
| 30 | #endif |