[clang-tidy] NFC Consolidate test absl::Time implementation
authorJonas Toth <jonas.toth@gmail.com>
Tue, 11 Dec 2018 12:42:17 +0000 (12:42 +0000)
committerJonas Toth <jonas.toth@gmail.com>
Tue, 11 Dec 2018 12:42:17 +0000 (12:42 +0000)
commitfe7592d48e07e1b49a7b3c72ee8e388def0e3bc2
tree1f069291cf523c9d7ed624ca713b57f43d1ffc23
parentf6371f5f23ab2f4cddfe7e30185a7bbe2265e0b2
[clang-tidy] NFC Consolidate test absl::Time implementation

Summary: Several tests re-implement these same prototypes (differently), so we can put them in a common location.

Patch by hwright.

Reviewers: JonasToth

Reviewed By: JonasToth

Tags: #clang-tools-extra

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

llvm-svn: 348840
clang-tools-extra/test/clang-tidy/Inputs/absl/time/time.h [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/abseil-duration-comparison.cpp
clang-tools-extra/test/clang-tidy/abseil-duration-factory-float.cpp
clang-tools-extra/test/clang-tidy/abseil-duration-factory-scale.cpp
clang-tools-extra/test/clang-tidy/abseil-upgrade-duration-conversions.cpp