From: Eli Friedman Date: Mon, 26 Nov 2012 21:57:28 +0000 (+0000) Subject: Add missing "break". Thanks to Craig for spotting it. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5824998702fad8eb2450e992b48d710a59723ff;p=clang Add missing "break". Thanks to Craig for spotting it. I'm looking at ways to fix the relevant test so it can catch this sort of mistake. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168618 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 95f7d58102..2091001dfc 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1960,6 +1960,7 @@ void X86TargetInfo::getDefaultFeatures(llvm::StringMap &Features) const { setFeatureEnabled(Features, "lzcnt", true); setFeatureEnabled(Features, "aes", true); setFeatureEnabled(Features, "pclmul", true); + break; case CK_BDVER2: setFeatureEnabled(Features, "xop", true); setFeatureEnabled(Features, "lzcnt", true);