Make function static that didn't need linkage.

In r373247 I added a helper function, but neglected to make it static.

llvm-svn: 373268
This commit is contained in:
Erich Keane 2019-09-30 21:24:04 +00:00
parent c03c2e886e
commit 98f0899942
1 changed files with 1 additions and 1 deletions

View File

@ -1399,7 +1399,7 @@ static bool allLookupResultsAreTheSame(const DeclContext::lookup_result &R) {
}
#endif
NamedDecl* getLambdaCallOperatorHelper(const CXXRecordDecl &RD) {
static NamedDecl* getLambdaCallOperatorHelper(const CXXRecordDecl &RD) {
if (!RD.isLambda()) return nullptr;
DeclarationName Name =
RD.getASTContext().DeclarationNames.getCXXOperatorName(OO_Call);