From: Benjamin Kramer Date: Mon, 5 Oct 2015 21:20:26 +0000 (+0000) Subject: Move helper classes into an anonymous namespace. NFC. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=080c92b40d68b50fe7c61c92e4504d96bfb12fb4;p=oota-llvm.git 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 --- 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.