================
@@ -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
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to