[llvm] r249356 - Move helper classes into an anonymous namespace. NFC.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 5 14:20:26 PDT 2015
Author: d0k
Date: Mon Oct 5 16:20:26 2015
New Revision: 249356
URL: http://llvm.org/viewvc/llvm-project?rev=249356&view=rev
Log:
Move helper classes into an anonymous namespace. NFC.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp?rev=249356&r1=249355&r2=249356&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp Mon Oct 5 16:20:26 2015
@@ -292,6 +292,7 @@ const MCExpr *WinException::getLabelPlus
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.
More information about the llvm-commits
mailing list