Skip to content

Commit 75f7e74

Browse files
committed
Revert partially llvm#127017
This assertion was hit, as reported by a user. llvm#128427 (comment) Ideally, we would reduce and add a regression test for this, but I don't have the bandwidth for it. See the summary of the issue llvm#128427 for the reproducer.
1 parent 9b52d9e commit 75f7e74

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ void MacOSKeychainAPIChecker::checkPreStmt(const CallExpr *CE,
314314
RegionArgIsBad = true;
315315
}
316316

317-
assert(ArgSM);
318317
// Is the argument to the call being tracked?
319318
const AllocationState *AS = State->get<AllocatedData>(ArgSM);
320319
if (!AS)

0 commit comments

Comments
 (0)