================
@@ -2213,7 +2213,7 @@ void BasicBugReport::Profile(llvm::FoldingSetNodeID& 
hash) const {
 void PathSensitiveBugReport::Profile(llvm::FoldingSetNodeID &hash) const {
   hash.AddInteger(static_cast<int>(getKind()));
   hash.AddPointer(&BT);
-  hash.AddString(Description);
+  hash.AddString(getShortDescription());
----------------
NagyDonat wrote:

Yes, it's intentional, because the method call `getShortDescription()` is 
equivalent to `ShortDescripton.empty() ? Description : ShortDescription`. (The 
common case when the short and full descriptions are identical is represented 
internally by an empty `ShortDescription` and the shared value stored in 
`Description`.)

https://github.com/llvm/llvm-project/pull/98621
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to