diff options
author | Kazu Hirata <kazu@google.com> | 2022-07-24 21:50:35 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-07-24 21:50:35 -0700 |
commit | b5188591a06b5814860622ec04d199d83deb40f8 (patch) | |
tree | 2db1b199eb3cf8433040402ffab6a163fd357591 /llvm/lib/CodeGen | |
parent | [clang] Remove unused forward declarations (NFC) (diff) | |
download | llvm-project-b5188591a06b5814860622ec04d199d83deb40f8.tar.gz llvm-project-b5188591a06b5814860622ec04d199d83deb40f8.tar.bz2 llvm-project-b5188591a06b5814860622ec04d199d83deb40f8.zip |
[llvm] Remove redundaunt virtual specifiers (NFC)
Identified with modernize-use-override.
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/WasmException.h | 2 | ||||
-rw-r--r-- | llvm/lib/CodeGen/ProcessImplicitDefs.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/WasmException.h b/llvm/lib/CodeGen/AsmPrinter/WasmException.h index 2abbe37cb6d9..419b569d123c 100644 --- a/llvm/lib/CodeGen/AsmPrinter/WasmException.h +++ b/llvm/lib/CodeGen/AsmPrinter/WasmException.h @@ -28,7 +28,7 @@ public: void endModule() override; void beginFunction(const MachineFunction *MF) override {} - virtual void markFunctionEnd() override; + void markFunctionEnd() override; void endFunction(const MachineFunction *MF) override; protected: diff --git a/llvm/lib/CodeGen/ProcessImplicitDefs.cpp b/llvm/lib/CodeGen/ProcessImplicitDefs.cpp index 7327f9e52efc..54bb4a31ef49 100644 --- a/llvm/lib/CodeGen/ProcessImplicitDefs.cpp +++ b/llvm/lib/CodeGen/ProcessImplicitDefs.cpp @@ -47,7 +47,7 @@ public: bool runOnMachineFunction(MachineFunction &MF) override; - virtual MachineFunctionProperties getRequiredProperties() const override { + MachineFunctionProperties getRequiredProperties() const override { return MachineFunctionProperties().set( MachineFunctionProperties::Property::IsSSA); } |