[clang-tidy] Add abseil-duration-conversion-cast check
authorHyrum Wright <hwright@google.com>
Thu, 17 Jan 2019 20:37:35 +0000 (20:37 +0000)
committerHyrum Wright <hwright@google.com>
Thu, 17 Jan 2019 20:37:35 +0000 (20:37 +0000)
commitb60de17b5106cd28614baafbfdec2bae9a706fc0
treed51c9f65c787622085a525decf42f160aacbbf32
parent4d1450298cd67721ed2fc6e9b99c04048ec27f2c
[clang-tidy] Add abseil-duration-conversion-cast check

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

llvm-svn: 351473
clang-tools-extra/clang-tidy/abseil/AbseilTidyModule.cpp
clang-tools-extra/clang-tidy/abseil/CMakeLists.txt
clang-tools-extra/clang-tidy/abseil/DurationConversionCastCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/abseil/DurationConversionCastCheck.h [new file with mode: 0644]
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-duration-conversion-cast.rst [new file with mode: 0644]
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/abseil-duration-conversion-cast.cpp [new file with mode: 0644]