From 3180f2be09a954580daf8ce537b8bd0b755e70b6 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 11 Jan 2014 18:42:35 +0000 Subject: [PATCH] Make helper function static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199013 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/VTableBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AST/VTableBuilder.cpp b/lib/AST/VTableBuilder.cpp index 8cf699ebd5..354e8e0d2e 100644 --- a/lib/AST/VTableBuilder.cpp +++ b/lib/AST/VTableBuilder.cpp @@ -3003,7 +3003,7 @@ void VFTableBuilder::AddMethods(BaseSubobject Base, unsigned BaseDepth, } } -void PrintBasePath(const VFPtrInfo::BasePath &Path, raw_ostream &Out) { +static void PrintBasePath(const VFPtrInfo::BasePath &Path, raw_ostream &Out) { for (VFPtrInfo::BasePath::const_reverse_iterator I = Path.rbegin(), E = Path.rend(); I != E; ++I) { Out << "'"; -- 2.40.0