Silence -Wimplicit-fallthrough warnings with the generated code; NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316075 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Aaron Ballman 2017-10-18 12:11:58 +00:00
parent 977de9aa10
commit 1b97bbcc56
1 changed files with 1 additions and 1 deletions

View File

@ -2794,7 +2794,7 @@ void EmitClangAttrHasAttrImpl(RecordKeeper &Records, raw_ostream &OS) {
GenerateHasAttrSpellingStringSwitch(I->second, OS, Spelling, I->first);
OS << "}";
}
OS << "\n}\n";
OS << "\n} break;\n";
};
fn("CXX11", "CXX", CXX);
fn("C2x", "C", C2x);