[clang] [analyzer][NFC] Make RegionStore dumps deterministic (PR #115615)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 11 10:39:42 PST 2024


================
@@ -67,9 +67,10 @@ class BindingKey {
             isa<ObjCIvarRegion, CXXDerivedObjectRegion>(r)) &&
            "Not a base");
   }
-public:
 
+public:
   bool isDirect() const { return P.getInt() & Direct; }
+  bool isDefault() const { return !isDirect(); }
----------------
NagyDonat wrote:

```suggestion
```
This is no longer needed -- in the "sort key" reformulation it was more natural to use `isDirect()`.

https://github.com/llvm/llvm-project/pull/115615


More information about the cfe-commits mailing list