mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
[C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -108,9 +108,9 @@ namespace {
|
||||
explicit CppWriter(formatted_raw_ostream &o) :
|
||||
ModulePass(ID), Out(o), uniqueNum(0), is_inline(false), indent_level(0){}
|
||||
|
||||
virtual const char *getPassName() const { return "C++ backend"; }
|
||||
const char *getPassName() const override { return "C++ backend"; }
|
||||
|
||||
bool runOnModule(Module &M);
|
||||
bool runOnModule(Module &M) override;
|
||||
|
||||
void printProgram(const std::string& fname, const std::string& modName );
|
||||
void printModule(const std::string& fname, const std::string& modName );
|
||||
|
Reference in New Issue
Block a user