From 808d2a070dad278ef15747c963894b70ed2ae849 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. llvm-svn: 249356 --- llvm/lib/CodeGen/AsmPrinter/WinException.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/CodeGen/AsmPrinter/WinException.cpp b/llvm/lib/CodeGen/AsmPrinter/WinException.cpp index 87437a1fe074..7764a6e716e8 100644 --- a/llvm/lib/CodeGen/AsmPrinter/WinException.cpp +++ b/llvm/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.