From: Benjamin Kramer Date: Thu, 1 Aug 2013 11:08:06 +0000 (+0000) Subject: Make helper function static. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b142da09284334a5fec95ed467ff6313a504b0d;p=clang Make helper function static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187574 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/VTableBuilder.cpp b/lib/AST/VTableBuilder.cpp index 81970f13c4..9067b4bd59 100644 --- a/lib/AST/VTableBuilder.cpp +++ b/lib/AST/VTableBuilder.cpp @@ -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;