diff options
author | Galina Kistanova <gkistanova@gmail.com> | 2017-06-03 06:30:46 +0000 |
---|---|---|
committer | Galina Kistanova <gkistanova@gmail.com> | 2017-06-03 06:30:46 +0000 |
commit | 0872d6c275db774da4baf7cc96b3da6985384a69 (patch) | |
tree | 9f6e1bc1ca97cc92d97e896e6854333952fd1cb0 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | efa712444ca86be02d10e7e2ffe6fc00d87d092f (diff) | |
download | llvm-0872d6c275db774da4baf7cc96b3da6985384a69.zip llvm-0872d6c275db774da4baf7cc96b3da6985384a69.tar.gz llvm-0872d6c275db774da4baf7cc96b3da6985384a69.tar.bz2 |
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304649
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<VarDecl>(D)->getDescribedVarTemplate()) return; + LLVM_FALLTHROUGH; case Decl::VarTemplateSpecialization: EmitGlobal(cast<VarDecl>(D)); if (auto *DD = dyn_cast<DecompositionDecl>(D)) |