From 1b97bbcc56f87338a7607a101ed153118bf7477d Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 18 Oct 2017 12:11:58 +0000 Subject: [PATCH] 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 --- utils/TableGen/ClangAttrEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/TableGen/ClangAttrEmitter.cpp b/utils/TableGen/ClangAttrEmitter.cpp index c3d593b092..effabcc6cb 100644 --- a/utils/TableGen/ClangAttrEmitter.cpp +++ b/utils/TableGen/ClangAttrEmitter.cpp @@ -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); -- 2.40.0