9#ifndef LLVM_CLANG_DRIVER_INPUTINFO_H
10#define LLVM_CLANG_DRIVER_INPUTINFO_H
14#include "llvm/Option/Arg.h"
43 const char *BaseInput;
46 return A !=
nullptr ? A->
getType() : types::TY_Nothing;
52 : Kind(Nothing), Act(A),
Type(GetActionType(A)), BaseInput(_BaseInput) {}
55 : Kind(
Filename), Act(nullptr),
Type(_Type), BaseInput(_BaseInput) {
56 Data.Filename = _Filename;
59 : Kind(
Filename), Act(A),
Type(GetActionType(A)), BaseInput(_BaseInput) {
60 Data.Filename = _Filename;
64 const char *_BaseInput)
65 : Kind(
InputArg), Act(nullptr),
Type(_Type), BaseInput(_BaseInput) {
66 Data.InputArg = _InputArg;
69 const char *_BaseInput)
70 : Kind(
InputArg), Act(A),
Type(GetActionType(A)), BaseInput(_BaseInput) {
71 Data.InputArg = _InputArg;
89 return *Data.InputArg;
The base class of the type hierarchy.
Action - Represent an abstract compilation step to perform.
types::ID getType() const
The JSON file list parser is used to communicate input to InstallAPI.