From 0872d6c275db774da4baf7cc96b3da6985384a69 Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Sat, 3 Jun 2017 06:30:46 +0000 Subject: Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. llvm-svn: 304649 --- clang/lib/CodeGen/CodeGenModule.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index c61a5f6..dde8f2e 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -3841,6 +3841,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) { // Skip variable templates if (cast(D)->getDescribedVarTemplate()) return; + LLVM_FALLTHROUGH; case Decl::VarTemplateSpecialization: EmitGlobal(cast(D)); if (auto *DD = dyn_cast(D)) -- cgit v1.1