[clang-tools-extra] r352364 - [clang-tidy] Fix a build error.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 28 06:07:45 PST 2019
Author: hokein
Date: Mon Jan 28 06:07:45 2019
New Revision: 352364
URL: http://llvm.org/viewvc/llvm-project?rev=352364&view=rev
Log:
[clang-tidy] Fix a build error.
Modified:
clang-tools-extra/trunk/clang-tidy/abseil/DurationAdditionCheck.cpp
Modified: clang-tools-extra/trunk/clang-tidy/abseil/DurationAdditionCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/abseil/DurationAdditionCheck.cpp?rev=352364&r1=352363&r2=352364&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/abseil/DurationAdditionCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/abseil/DurationAdditionCheck.cpp Mon Jan 28 06:07:45 2019
@@ -54,7 +54,7 @@ void DurationAdditionCheck::check(const
rewriteExprFromNumberToDuration(Result, *Scale, Binop->getRHS()) + ")")
.str());
} else {
- assert(Call == Binop->getRHS()->IgnoreParenImpCast() &&
+ assert(Call == Binop->getRHS()->IgnoreParenImpCasts() &&
"Call should be found on the RHS");
Hint = FixItHint::CreateReplacement(
Binop->getSourceRange(),
More information about the cfe-commits
mailing list