summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-03-11 19:45:37 +0000
committerDan Gohman <dan433584@gmail.com>2016-03-11 19:45:37 +0000
commitda323e88ea798f02f2b7eba934be51495c9258e4 (patch)
tree4a2fb02b3346beed849d95e95a2764a7515c0167 /llvm
parentb42b762bca56b1649c6895023459702c8740c261 (diff)
downloadbcm5719-llvm-da323e88ea798f02f2b7eba934be51495c9258e4.tar.gz
bcm5719-llvm-da323e88ea798f02f2b7eba934be51495c9258e4.zip
[WebAssembly] Add `final` keywords to a few more subclasses, for consistency.
llvm-svn: 263287
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp2
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyPEI.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
index 1a7716a5d94..65e79d4765d 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
@@ -109,7 +109,7 @@ public:
bool operator!=(const MetaBlock &MBB) { return Block != MBB.Block; }
};
-class SuccessorList : public MetaBlock {
+class SuccessorList final : public MetaBlock {
size_t Index;
size_t Num;
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyPEI.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyPEI.cpp
index d00ae703951..ca55fef508a 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyPEI.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyPEI.cpp
@@ -59,7 +59,7 @@ namespace llvm {
void initializeWasmPEIPass(PassRegistry&);
}
namespace {
-class WasmPEI : public MachineFunctionPass {
+class WasmPEI final : public MachineFunctionPass {
public:
static char ID;
WasmPEI() : MachineFunctionPass(ID) {
OpenPOWER on IntegriCloud