forked from OSchip/llvm-project
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:
parent
c03c2e886e
commit
98f0899942
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue