From 080c92b40d68b50fe7c61c92e4504d96bfb12fb4 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 5 Oct 2015 21:20:26 +0000 Subject: [PATCH] Move helper classes into an anonymous namespace. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249356 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/WinException.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/CodeGen/AsmPrinter/WinException.cpp b/lib/CodeGen/AsmPrinter/WinException.cpp index 87437a1fe07..7764a6e716e 100644 --- a/lib/CodeGen/AsmPrinter/WinException.cpp +++ b/lib/CodeGen/AsmPrinter/WinException.cpp @@ -292,6 +292,7 @@ const MCExpr *WinException::getLabelPlusOne(MCSymbol *Label) { Asm->OutContext); } +namespace { /// Information describing an invoke range. struct InvokeRange { MCSymbol *BeginLabel = nullptr; @@ -329,6 +330,7 @@ private: MachineBasicBlock::const_iterator MBBIEnd; InvokeRange CurRange; }; +} // end anonymous namespace /// Invoke label range iteration logic. Increment MBBI until we find the next /// EH_LABEL pair, and then update MBBI to point after the end label. -- 2.34.1