Removed redundant case statements

llvm-svn: 130564
This commit is contained in:
Chad Rosier 2011-04-30 00:03:48 +00:00
parent 9f638ab181
commit 3909e037ab
1 changed files with 0 additions and 2 deletions

View File

@ -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)