r187574 - Make helper function static.
Benjamin Kramer
benny.kra at googlemail.com
Thu Aug 1 04:08:06 PDT 2013
Author: d0k
Date: Thu Aug 1 06:08:06 2013
New Revision: 187574
URL: http://llvm.org/viewvc/llvm-project?rev=187574&view=rev
Log:
Make helper function static.
Modified:
cfe/trunk/lib/AST/VTableBuilder.cpp
Modified: cfe/trunk/lib/AST/VTableBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/VTableBuilder.cpp?rev=187574&r1=187573&r2=187574&view=diff
==============================================================================
--- cfe/trunk/lib/AST/VTableBuilder.cpp (original)
+++ cfe/trunk/lib/AST/VTableBuilder.cpp Thu Aug 1 06:08:06 2013
@@ -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;
More information about the cfe-commits
mailing list