forked from OSchip/llvm-project
parent
9f638ab181
commit
3909e037ab
|
@ -1193,8 +1193,6 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
|
|||
InputKind DashX = IK_None;
|
||||
if (const Arg *A = Args.getLastArg(OPT_x)) {
|
||||
DashX = llvm::StringSwitch<InputKind>(A->getValue(Args))
|
||||
.Case("c", IK_C)
|
||||
.Case("cl", IK_OpenCL)
|
||||
.Case("c", IK_C)
|
||||
.Case("cl", IK_OpenCL)
|
||||
.Case("cuda", IK_CUDA)
|
||||
|
|
Loading…
Reference in New Issue