From fa6a1b0a1d9d186a0ad9bb413a4e49f1ffd187d8 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Fri, 7 Sep 2018 08:11:55 -0700 Subject: ART: Continue adding override annotations Use Clang-tidy's modernize-use-override to add more annotations. Ignore inferred annotations on destructors. Bug: 32619234 Test: mmma art Change-Id: Ic432c928e398d44df9171e42db04ee19946e6887 --- runtime/quick_exception_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/quick_exception_handler.cc') diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc index 7b92151c66..e882e7370a 100644 --- a/runtime/quick_exception_handler.cc +++ b/runtime/quick_exception_handler.cc @@ -165,7 +165,7 @@ class InstrumentationStackVisitor : public StackVisitor { CHECK_NE(frame_depth_, kInvalidFrameDepth); } - bool VisitFrame() REQUIRES_SHARED(Locks::mutator_lock_) { + bool VisitFrame() override REQUIRES_SHARED(Locks::mutator_lock_) { size_t current_frame_depth = GetFrameDepth(); if (current_frame_depth < frame_depth_) { CHECK(GetMethod() != nullptr); -- cgit v1.2.3-59-g8ed1b