diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-02 09:35:33 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-02 09:35:33 +0000 |
| commit | 6eface7c9d4c37618201583ff2f3347fa2be884f (patch) | |
| tree | 115674b676f246537acc64fbff0ecd55fa09c064 /lld/lib/ReaderWriter/ELF/PPC | |
| parent | a798a9db933352dbece8bec1494ee3d3c2937a14 (diff) | |
| download | bcm5719-llvm-6eface7c9d4c37618201583ff2f3347fa2be884f.tar.gz bcm5719-llvm-6eface7c9d4c37618201583ff2f3347fa2be884f.zip | |
[C++11] Switch from LLVM_FINAL to just "final" now that all of LLVM is
requiring MSVC 2012 or newer.
llvm-svn: 202626
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/PPC')
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/PPC/PPCLinkingContext.h | 2 | ||||
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/PPC/PPCTargetHandler.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lld/lib/ReaderWriter/ELF/PPC/PPCLinkingContext.h b/lld/lib/ReaderWriter/ELF/PPC/PPCLinkingContext.h index 799123ee275..782f7cd607b 100644 --- a/lld/lib/ReaderWriter/ELF/PPC/PPCLinkingContext.h +++ b/lld/lib/ReaderWriter/ELF/PPC/PPCLinkingContext.h @@ -20,7 +20,7 @@ namespace lld { namespace elf { -class PPCLinkingContext LLVM_FINAL : public ELFLinkingContext { +class PPCLinkingContext final : public ELFLinkingContext { public: PPCLinkingContext(llvm::Triple triple) : ELFLinkingContext(triple, std::unique_ptr<TargetHandlerBase>( diff --git a/lld/lib/ReaderWriter/ELF/PPC/PPCTargetHandler.h b/lld/lib/ReaderWriter/ELF/PPC/PPCTargetHandler.h index eba58bf328d..dda97ac49e8 100644 --- a/lld/lib/ReaderWriter/ELF/PPC/PPCTargetHandler.h +++ b/lld/lib/ReaderWriter/ELF/PPC/PPCTargetHandler.h @@ -23,7 +23,7 @@ public: PPCTargetLayout(PPCLinkingContext &context) : TargetLayout<ELFT>(context) {} }; -class PPCTargetRelocationHandler LLVM_FINAL +class PPCTargetRelocationHandler final : public TargetRelocationHandler<PPCELFType> { public: PPCTargetRelocationHandler(PPCLinkingContext &context, @@ -39,7 +39,7 @@ protected: PPCTargetLayout<PPCELFType> &_ppcTargetLayout; }; -class PPCTargetHandler LLVM_FINAL +class PPCTargetHandler final : public DefaultTargetHandler<PPCELFType> { public: PPCTargetHandler(PPCLinkingContext &context); |

