diff options
author | 2018-09-19 10:58:18 -0700 | |
---|---|---|
committer | 2018-09-19 21:56:32 -0700 | |
commit | 9a20ff06f7ccee08a742c315ec6d351ab56ba1cd (patch) | |
tree | 7e55557e118eb5fffe03ad3456e00d8469a36232 /compiler/dex/inline_method_analyser.cc | |
parent | 70dfb6983492aff1c52cc1b52044258aef51f47f (diff) |
ART: Refactor typedef to using
Add clang-tidy's modernize-use-using.
Bug: 32619234
Test: WITH_TIDY=1 mmma art
Change-Id: If50d37b5152af4270784e3cde7951292a9e19033
Diffstat (limited to 'compiler/dex/inline_method_analyser.cc')
-rw-r--r-- | compiler/dex/inline_method_analyser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 <size_t size> static bool Match(const CodeItemDataAccessor* code_item, MatchFn* const (&pattern)[size]); |