Summary:
Appease failed builds (due to -Werror and -Wswitch) where OMPRT_Unknown
is not handled in the switch statement (even though it's handled by the
early exit).
This fixes -Wswitch triggered by r371442.
Reviewers: srhines, danalbert, jdoerfert
Subscribers: guansong, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67364
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371444
91177308-0d34-0410-b5e6-
96231b3b80d8
case Driver::OMPRT_IOMP5:
CmdArgs.push_back("-liomp5");
break;
+ case Driver::OMPRT_Unknown:
+ break;
}
if (ForceStaticHostRuntime)