clang 19.0.0git
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
15namespace clang {
16
17namespace 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.
26
27} // end namespace driver
28} // end namespace clang
29
30#endif
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
SmallVector< Action *, 3 > ActionList
ActionList - Type used for lists of actions.
Definition: Util.h:25
llvm::DenseMap< const JobAction *, const char * > ArgStringMap
ArgStringMap - Type used to map a JobAction to its result file.
Definition: Util.h:22
The JSON file list parser is used to communicate input to InstallAPI.