From a234052d291635d697e7db3030eff39b4bb71dac Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 22 Sep 2015 14:34:57 +0000 Subject: [PATCH] Make helper function static. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248278 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/WinEHPrepare.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/CodeGen/WinEHPrepare.cpp b/lib/CodeGen/WinEHPrepare.cpp index 06440e457a8..d5af24ed71a 100644 --- a/lib/CodeGen/WinEHPrepare.cpp +++ b/lib/CodeGen/WinEHPrepare.cpp @@ -2638,9 +2638,9 @@ static const CatchPadInst *getSingleCatchPadPredecessor(const BasicBlock *BB) { /// to label %catch.B unwind label %endcatches /// %endcatches /// catchendblock unwind to caller -void findCatchPadsForCatchEndPad( - const BasicBlock *CatchEndBB, - SmallVectorImpl &Handlers) { +static void +findCatchPadsForCatchEndPad(const BasicBlock *CatchEndBB, + SmallVectorImpl &Handlers) { const CatchPadInst *CPI = getSingleCatchPadPredecessor(CatchEndBB); while (CPI) { Handlers.push_back(CPI); -- 2.34.1