Use the standard Duration factory matcher
authorJonas Toth <jonas.toth@gmail.com>
Tue, 11 Dec 2018 12:45:51 +0000 (12:45 +0000)
committerJonas Toth <jonas.toth@gmail.com>
Tue, 11 Dec 2018 12:45:51 +0000 (12:45 +0000)
commit4b59a1fe29e1336937f9869f24dac293f7c61891
treecd1de3c24af4d425031387f28d0b45f7e5b9c768
parenta94b00513f9a469c703924a627d7841533570fb0
Use the standard Duration factory matcher

Summary: A new check came in over the weekend; it should use our existing infrastructure for matching `absl::Duration` factories.

Patch by hwright.

Reviewers: JonasToth

Reviewed By: JonasToth

Subscribers: astrelni

Tags: #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D55541

llvm-svn: 348842
clang-tools-extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp