summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2017-06-03 06:30:46 +0000
committerGalina Kistanova <gkistanova@gmail.com>2017-06-03 06:30:46 +0000
commit0872d6c275db774da4baf7cc96b3da6985384a69 (patch)
tree9f6e1bc1ca97cc92d97e896e6854333952fd1cb0 /clang/lib/CodeGen/CGDebugInfo.cpp
parentefa712444ca86be02d10e7e2ffe6fc00d87d092f (diff)
downloadbcm5719-llvm-0872d6c275db774da4baf7cc96b3da6985384a69.tar.gz
bcm5719-llvm-0872d6c275db774da4baf7cc96b3da6985384a69.zip
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304649
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 3ed388974c4..02db79159b5 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -2781,6 +2781,7 @@ llvm::DICompositeType *CGDebugInfo::CreateLimitedType(const RecordType *Ty) {
// them distinct if they are ODR-uniqued.
if (FullName.empty())
break;
+ LLVM_FALLTHROUGH;
case llvm::dwarf::DW_TAG_structure_type:
case llvm::dwarf::DW_TAG_union_type:
OpenPOWER on IntegriCloud