================
@@ -299,6 +299,7 @@ class RawPtrRefMemberChecker
                                  BR->getSourceManager());
     auto Report = std::make_unique<BasicBugReport>(Bug, Os.str(), BSLoc);
     Report->addRange(Member->getSourceRange());
+    Report->setDeclWithIssue(Member);
----------------
ziqingluo-90 wrote:

yeah, I misunderstood the meaning of `GetEnclosingDeclContextSignature` and 
`setDeclWithIssue` in the same way.

https://github.com/llvm/llvm-project/pull/214102
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to