Make helper function static.

llvm-svn: 187574
This commit is contained in:
Benjamin Kramer 2013-08-01 11:08:06 +00:00
parent fd7f4ae6d4
commit dca8abde77
1 changed files with 2 additions and 2 deletions

View File

@ -3125,8 +3125,8 @@ static void EnumerateVFPtrs(
}
}
void EnumerateVFPtrs(ASTContext &Context, const CXXRecordDecl *ForClass,
MicrosoftVFTableContext::VFPtrListTy &Result) {
static void EnumerateVFPtrs(ASTContext &Context, const CXXRecordDecl *ForClass,
MicrosoftVFTableContext::VFPtrListTy &Result) {
Result.clear();
const ASTRecordLayout &ClassLayout = Context.getASTRecordLayout(ForClass);
BasesSetVectorTy VisitedVBases;