[PATCH] D83660: [analyzer] Fix a crash for dereferencing an empty llvm::Optional variable in SMTConstraintManager.h.

Valeriy Savchenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 14 00:25:24 PDT 2020


vsavchenko added a subscriber: vrnithinkumar.
vsavchenko added a comment.

In D83660#2148834 <https://reviews.llvm.org/D83660#2148834>, @NoQ wrote:

> Looks like a copy-paste error indeed.


@vrnithinkumar @NoQ looks like a good opportunity for `SmartPtr` checker and `llvm::Optional`!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83660/new/

https://reviews.llvm.org/D83660





More information about the cfe-commits mailing list