diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-12-24 12:46:22 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-12-24 12:46:22 +0000 |
commit | 802e6255b26d1630cf69feb573dbf9fd5bf94c8f (patch) | |
tree | 54a89061554fef2dae1f583ab73e953886b69df2 /clang/lib/AST/ASTContext.cpp | |
parent | e0434fad168a85791e407e426328691e3cf175af (diff) | |
download | bcm5719-llvm-802e6255b26d1630cf69feb573dbf9fd5bf94c8f.tar.gz bcm5719-llvm-802e6255b26d1630cf69feb573dbf9fd5bf94c8f.zip |
Make helpers static. No functionality change.
llvm-svn: 321425
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r-- | clang/lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index dd96148edb2..3dc961d4f12 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/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()) |