Skip to content

Commit 6e44cb3

Browse files
authored
[analyzer][NFC] Remove a non-actionable dump (#106232)
This dump, if it is ever executed, is not actionable by the user and might produce unwanted noise in the stderr. The original intention behind this dump, to provide maximum information in an unexpected situation, does not outweigh the potential annoyance caused to users who might not even realize that they witnessed an unexpected situation.
1 parent aa95b5c commit 6e44cb3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ std::optional<std::string> printReferrer(const MemRegion *Referrer) {
326326
// warn_init_ptr_member_to_parameter_addr
327327
return std::nullopt;
328328
} else {
329-
Referrer->dump();
330329
assert(false && "Unexpected referrer region type.");
331330
return std::nullopt;
332331
}

0 commit comments

Comments
 (0)