mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Use 'override/final' instead of 'virtual' for overridden methods
The patch is generated using clang-tidy misc-use-override check. This command was used: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ -checks='-*,misc-use-override' -header-filter='llvm|clang' \ -j=32 -fix -format http://reviews.llvm.org/D8925 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234679 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -23,7 +23,7 @@ namespace {
|
||||
|
||||
class LinkModuleTest : public testing::Test {
|
||||
protected:
|
||||
virtual void SetUp() {
|
||||
void SetUp() override {
|
||||
M.reset(new Module("MyModule", Ctx));
|
||||
FunctionType *FTy = FunctionType::get(
|
||||
Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/);
|
||||
@ -56,7 +56,7 @@ protected:
|
||||
GV->setInitializer(ConstantArray::get(AT, Init));
|
||||
}
|
||||
|
||||
virtual void TearDown() { M.reset(); }
|
||||
void TearDown() override { M.reset(); }
|
||||
|
||||
LLVMContext Ctx;
|
||||
std::unique_ptr<Module> M;
|
||||
|
Reference in New Issue
Block a user