HomePhabricator

[Driver] Handle default case in refactored addOpenMPRuntime

Authored by pirama on Sep 9 2019, 12:52 PM.

Description

[Driver] Handle default case in refactored addOpenMPRuntime

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

llvm-svn: 371444

Details

Committed
piramaSep 9 2019, 12:52 PM
Differential Revision
D67364: [Driver] Handle default case in refactored addOpenMPRuntime
Parents
rG3d85013b63ea: [Remarks] Fix warning for uint8_t < 0 comparison
Branches
Unknown
Tags
Unknown