summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2017-06-03 06:31:42 +0000
committerGalina Kistanova <gkistanova@gmail.com>2017-06-03 06:31:42 +0000
commitf87496d1071b1d6094e0e96d60872e5bbbebc914 (patch)
treed3be590135d0a62135c984c36c4953f278420f9a /clang/lib/AST/ASTContext.cpp
parent0872d6c275db774da4baf7cc96b3da6985384a69 (diff)
downloadbcm5719-llvm-f87496d1071b1d6094e0e96d60872e5bbbebc914.tar.gz
bcm5719-llvm-f87496d1071b1d6094e0e96d60872e5bbbebc914.zip
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304650
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 29d970e66d7..34c4d2617ec 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -6240,6 +6240,8 @@ void ASTContext::getObjCEncodingForTypeImpl(QualType T, std::string& S,
S += "{objc_class=}";
return;
}
+ // TODO: Double check to make sure this intentially falls through.
+ LLVM_FALLTHROUGH;
}
case Type::ObjCInterface: {
OpenPOWER on IntegriCloud