clang  10.0.0svn
Util.h
Go to the documentation of this file.
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 class DiagnosticsEngine;
17 
18 namespace 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.
27 
28 } // end namespace driver
29 } // end namespace clang
30 
31 #endif
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
llvm::DenseMap< const JobAction *, const char * > ArgStringMap
ArgStringMap - Type used to map a JobAction to its result file.
Definition: Util.h:20
SmallVector< Action *, 3 > ActionList
ActionList - Type used for lists of actions.
Definition: Util.h:26
Dataflow Directional Tag Classes.