[clang] [analyzer] Fix unary/binary op support for SMT symbolic execution (PR #205078)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 02:52:38 PDT 2026


================
@@ -171,6 +182,15 @@ class SMTConstraintManager : public clang::ento::SimpleConstraintManager {
       return BVF.Convert(SC->getType(), *Value).get();
     }
 
+    if (const UnarySymExpr *USE = dyn_cast<UnarySymExpr>(Sym)) {
----------------
steakhal wrote:

```suggestion
    if (const auto *USE = dyn_cast<UnarySymExpr>(Sym)) {
```

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


More information about the cfe-commits mailing list