diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-05-26 20:08:24 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-05-26 20:08:24 +0000 |
commit | 674d5792717a1493c104ccee19b92fc5f6065b83 (patch) | |
tree | 1fbf9445889f87a7b162346099a05050e3cb86a4 /clang/lib/AST/DeclBase.cpp | |
parent | 8c3735e59718499023f4281dd3403e3aeeb860d6 (diff) | |
download | llvm-674d5792717a1493c104ccee19b92fc5f6065b83.zip llvm-674d5792717a1493c104ccee19b92fc5f6065b83.tar.gz llvm-674d5792717a1493c104ccee19b92fc5f6065b83.tar.bz2 |
Make helper functions static. NFC.
llvm-svn: 304028
Diffstat (limited to 'clang/lib/AST/DeclBase.cpp')
-rw-r--r-- | clang/lib/AST/DeclBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/DeclBase.cpp b/clang/lib/AST/DeclBase.cpp index 085fb52..032a20a 100644 --- a/clang/lib/AST/DeclBase.cpp +++ b/clang/lib/AST/DeclBase.cpp @@ -448,8 +448,8 @@ const Attr *Decl::getDefiningAttr() const { return nullptr; } -StringRef getRealizedPlatform(const AvailabilityAttr *A, - const ASTContext &Context) { +static StringRef getRealizedPlatform(const AvailabilityAttr *A, + const ASTContext &Context) { // Check if this is an App Extension "platform", and if so chop off // the suffix for matching with the actual platform. StringRef RealizedPlatform = A->getPlatform()->getName(); |