Skip to content

Commit 5b8416f

Browse files
committed
Revert some non-functional changes to reduce diff size
1 parent 1649033 commit 5b8416f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/StaticAnalyzer/Core/CheckerManager.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -750,17 +750,17 @@ void CheckerManager::runCheckersForEvalCall(ExplodedNodeSet &Dst,
750750
}
751751
#ifndef NDEBUG
752752
if (evaluated && evaluatorChecker) {
753-
const auto toString = [](CallEventRef<> Call) -> std::string {
753+
const auto toString = [](const CallEvent &Call) -> std::string {
754754
std::string Buf;
755755
llvm::raw_string_ostream OS(Buf);
756-
Call->dump(OS);
756+
Call.dump(OS);
757757
return Buf;
758758
};
759759
std::string AssertionMessage = llvm::formatv(
760760
"The '{0}' call has been already evaluated by the {1} checker, "
761761
"while the {2} checker also tried to evaluate the same call. At "
762762
"most one checker supposed to evaluate a call.",
763-
toString(UpdatedCall), evaluatorChecker,
763+
toString(Call), evaluatorChecker,
764764
EvalCallChecker.Checker->getDebugTag());
765765
llvm_unreachable(AssertionMessage.c_str());
766766
}

0 commit comments

Comments
 (0)