summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/PPC
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-02 09:35:33 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-02 09:35:33 +0000
commit6eface7c9d4c37618201583ff2f3347fa2be884f (patch)
tree115674b676f246537acc64fbff0ecd55fa09c064 /lld/lib/ReaderWriter/ELF/PPC
parenta798a9db933352dbece8bec1494ee3d3c2937a14 (diff)
downloadbcm5719-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.h2
-rw-r--r--lld/lib/ReaderWriter/ELF/PPC/PPCTargetHandler.h4
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);
OpenPOWER on IntegriCloud