diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-10-31 23:23:36 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-10-31 23:23:36 +0000 |
commit | 9f13e3eb1bc8ce6c27ab73790fb29dddcd841d37 (patch) | |
tree | c148cb11ee5d743728deadb0de70e0be9c2ae114 | |
parent | a9fba7b0ec1b2384f171950089021fadec7da08b (diff) |
Make helper function static. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317052 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AST/Type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp index 5e7cf34704..d0707a4a73 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -2182,7 +2182,7 @@ bool QualType::unionHasUniqueObjectRepresentations( return true; } -bool isStructEmpty(QualType Ty) { +static bool isStructEmpty(QualType Ty) { assert(Ty.getTypePtr()->isStructureOrClassType() && "Must be struct or class"); const RecordDecl *RD = Ty.getTypePtr()->getAs<RecordType>()->getDecl(); |