[llvm-branch-commits] [compiler-rt] 827e075 - [lsan] Use final on Fuchsia ThreadContext declaration
Roland McGrath via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Dec 2 12:03:00 PST 2020
Author: Roland McGrath
Date: 2020-12-02T11:58:03-08:00
New Revision: 827e075676f604106631c68901a0747ce8cb05cf
URL: https://github.com/llvm/llvm-project/commit/827e075676f604106631c68901a0747ce8cb05cf
DIFF: https://github.com/llvm/llvm-project/commit/827e075676f604106631c68901a0747ce8cb05cf.diff
LOG: [lsan] Use final on Fuchsia ThreadContext declaration
This is consistent with other platforms' versions and
eliminates a compiler warning.
Reviewed By: leonardchan
Differential Revision: https://reviews.llvm.org/D92442
Added:
Modified:
compiler-rt/lib/lsan/lsan_fuchsia.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/lsan/lsan_fuchsia.h b/compiler-rt/lib/lsan/lsan_fuchsia.h
index 65d20ea21148..e730d8f25f21 100644
--- a/compiler-rt/lib/lsan/lsan_fuchsia.h
+++ b/compiler-rt/lib/lsan/lsan_fuchsia.h
@@ -23,7 +23,7 @@
namespace __lsan {
-class ThreadContext : public ThreadContextLsanBase {
+class ThreadContext final : public ThreadContextLsanBase {
public:
explicit ThreadContext(int tid);
void OnCreated(void *arg) override;
More information about the llvm-branch-commits
mailing list