From 9a20ff06f7ccee08a742c315ec6d351ab56ba1cd Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Wed, 19 Sep 2018 10:58:18 -0700 Subject: ART: Refactor typedef to using Add clang-tidy's modernize-use-using. Bug: 32619234 Test: WITH_TIDY=1 mmma art Change-Id: If50d37b5152af4270784e3cde7951292a9e19033 --- compiler/dex/inline_method_analyser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/dex/inline_method_analyser.cc') diff --git a/compiler/dex/inline_method_analyser.cc b/compiler/dex/inline_method_analyser.cc index fe8b766d0f..183173b298 100644 --- a/compiler/dex/inline_method_analyser.cc +++ b/compiler/dex/inline_method_analyser.cc @@ -41,7 +41,7 @@ namespace { // anonymous namespace class Matcher { public: // Match function type. - typedef bool MatchFn(Matcher* matcher); + using MatchFn = bool(Matcher*); template static bool Match(const CodeItemDataAccessor* code_item, MatchFn* const (&pattern)[size]); -- cgit v1.2.3-59-g8ed1b