Fix an unannotated fallthrough that was causing a warning.

llvm-svn: 289000
This commit is contained in:
Greg Clayton 2016-12-07 23:52:27 +00:00
parent 3ce7e99680
commit 962364c605
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ bool registerRSDefaultTargetOpts(clang::TargetOptions &proto,
proto.Triple = "i686--linux-android"; proto.Triple = "i686--linux-android";
proto.CPU = "atom"; proto.CPU = "atom";
proto.Features.push_back("+long64"); proto.Features.push_back("+long64");
// Fallthrough for common x86 family features // Fallthrough for common x86 family features
LLVM_FALLTHROUGH;
case llvm::Triple::ArchType::x86_64: case llvm::Triple::ArchType::x86_64:
proto.Features.push_back("+mmx"); proto.Features.push_back("+mmx");
proto.Features.push_back("+sse"); proto.Features.push_back("+sse");