From 1de93ee5610e8a97e753c881c574f8d994e71373 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Dec 24 2017 14:05:01 +0000 Subject: Vendor import of clang trunk r321426: https://llvm.org/svn/llvm-project/cfe/trunk@321426 --- diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index dd96148..3dc961d 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()->getDecl(); if (!RD->field_empty())