================
@@ -2265,7 +2265,7 @@ class UnsafeBufferUsageReporter : public
UnsafeBufferUsageHandler {
} else if (isa<MemberExpr>(Operation)) {
// note_unsafe_buffer_operation doesn't have this mode yet.
assert(!IsRelatedToDecl && "Not implemented yet!");
- auto ME = dyn_cast<MemberExpr>(Operation);
+ auto ME = cast<MemberExpr>(Operation);
----------------
Fznamznon wrote:
NIT: afaik, coding guidelines suggest adding `*`
```suggestion
auto *ME = cast<MemberExpr>(Operation);
```
https://github.com/llvm/llvm-project/pull/115502
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits