[lld] r202627 - [C++11] Replace LLVM_OVERRIDE with just "override" now that we're all
Chandler Carruth
chandlerc at gmail.com
Sun Mar 2 01:39:44 PST 2014
Author: chandlerc
Date: Sun Mar 2 03:39:44 2014
New Revision: 202627
URL: http://llvm.org/viewvc/llvm-project?rev=202627&view=rev
Log:
[C++11] Replace LLVM_OVERRIDE with just "override" now that we're all
using MSVC 2012 or newer.
Modified:
lld/trunk/lib/ReaderWriter/ELF/ArrayOrderPass.h
lld/trunk/lib/ReaderWriter/ELF/Atoms.h
lld/trunk/lib/ReaderWriter/ELF/SectionChunks.h
lld/trunk/lib/ReaderWriter/MachO/StubAtoms.hpp
Modified: lld/trunk/lib/ReaderWriter/ELF/ArrayOrderPass.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/ArrayOrderPass.h?rev=202627&r1=202626&r2=202627&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/ArrayOrderPass.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/ArrayOrderPass.h Sun Mar 2 03:39:44 2014
@@ -18,7 +18,7 @@ namespace elf {
class ArrayOrderPass : public Pass {
public:
ArrayOrderPass() : Pass() {}
- virtual void perform(std::unique_ptr<MutableFile> &mergedFile) LLVM_OVERRIDE;
+ virtual void perform(std::unique_ptr<MutableFile> &mergedFile) override;
};
}
}
Modified: lld/trunk/lib/ReaderWriter/ELF/Atoms.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Atoms.h?rev=202627&r1=202626&r2=202627&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Atoms.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Atoms.h Sun Mar 2 03:39:44 2014
@@ -698,7 +698,7 @@ public:
}
}
- virtual uint64_t size() const LLVM_OVERRIDE {
+ virtual uint64_t size() const override {
return _symbol->st_size;
}
Modified: lld/trunk/lib/ReaderWriter/ELF/SectionChunks.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/SectionChunks.h?rev=202627&r1=202626&r2=202627&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/SectionChunks.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/SectionChunks.h Sun Mar 2 03:39:44 2014
@@ -1345,17 +1345,17 @@ public:
this->_msize = this->_fsize;
}
- virtual void doPreFlight() LLVM_OVERRIDE {
+ virtual void doPreFlight() override {
// TODO: Generate a proper binary search table.
}
- virtual void finalize() LLVM_OVERRIDE {
+ virtual void finalize() override {
MergedSections<ELFT> *s = _layout.findOutputSection(".eh_frame");
_ehFrameAddr = s ? s->virtualAddr() : 0;
}
virtual void write(ELFWriter *writer, TargetLayout<ELFT> &layout,
- llvm::FileOutputBuffer &buffer) LLVM_OVERRIDE {
+ llvm::FileOutputBuffer &buffer) override {
uint8_t *chunkBuffer = buffer.getBufferStart();
uint8_t *dest = chunkBuffer + this->fileOffset();
int pos = 0;
Modified: lld/trunk/lib/ReaderWriter/MachO/StubAtoms.hpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/StubAtoms.hpp?rev=202627&r1=202626&r2=202627&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/MachO/StubAtoms.hpp (original)
+++ lld/trunk/lib/ReaderWriter/MachO/StubAtoms.hpp Sun Mar 2 03:39:44 2014
@@ -54,7 +54,7 @@ public:
return Type::Unknown;
}
- virtual uint64_t size() const LLVM_OVERRIDE {
+ virtual uint64_t size() const override {
return 0;
}
More information about the llvm-commits
mailing list