diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-10-05 21:20:26 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-10-05 21:20:26 +0000 |
commit | 808d2a070dad278ef15747c963894b70ed2ae849 (patch) | |
tree | 55e885db939f4326b00b48d2f74dc7b8595fc9cf /llvm/lib/CodeGen/AsmPrinter/WinException.cpp | |
parent | 737501c673dc99ac1320b2eadc1f2208c0efcbfa (diff) | |
download | bcm5719-llvm-808d2a070dad278ef15747c963894b70ed2ae849.tar.gz bcm5719-llvm-808d2a070dad278ef15747c963894b70ed2ae849.zip |
Move helper classes into an anonymous namespace. NFC.
llvm-svn: 249356
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WinException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/WinException.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/WinException.cpp b/llvm/lib/CodeGen/AsmPrinter/WinException.cpp index 87437a1fe07..7764a6e716e 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. |