aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-24 14:05:01 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-24 14:05:01 +0000
commit1de93ee5610e8a97e753c881c574f8d994e71373 (patch)
tree9d1f77cae3dff2edb67c8b2558255a8b1f6731a4
parent6252156da5066bd47f63f8bd40404d1f89909d32 (diff)
downloadsrc-1de93ee5610e8a97e753c881c574f8d994e71373.tar.gz
src-1de93ee5610e8a97e753c881c574f8d994e71373.zip
Vendor import of clang trunk r321426:vendor/clang/clang-trunk-r321426
Notes
Notes: svn path=/vendor/clang/dist/; revision=327154 svn path=/vendor/clang/clang-trunk-r321426/; revision=327155; tag=vendor/clang/clang-trunk-r321426
-rw-r--r--lib/AST/ASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp
index dd96148edb27..3dc961d4f12b 100644
--- a/lib/AST/ASTContext.cpp
+++ b/lib/AST/ASTContext.cpp
@@ -2148,7 +2148,7 @@ static bool unionHasUniqueObjectRepresentations(const ASTContext &Context,
return true;
}
-bool isStructEmpty(QualType Ty) {
+static bool isStructEmpty(QualType Ty) {
const RecordDecl *RD = Ty->castAs<RecordType>()->getDecl();
if (!RD->field_empty())