[PATCH] D61285: [analyzer] SmartPtrModeling: Fix a null dereference.

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 29 18:00:42 PDT 2019


xazax.hun accepted this revision.
xazax.hun added a comment.

LG! These mistakes are so easy to make. Maybe we should add nullability annotations (or use optionals) in the future? (Or just make every non-null pointer a reference and make it a convention to always check for nulls?)


Repository:
  rC Clang

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

https://reviews.llvm.org/D61285





More information about the cfe-commits mailing list