[PATCH] D117229: [Analyzer] Produce SymbolCast for pointer to integer cast

Denys Petrov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 20 09:15:56 PST 2022


ASDenysPetrov added inline comments.


================
Comment at: clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:1088
 }
+
+SVal clang::ento::SValBuilder::simplifySymbolCast(nonloc::SymbolVal V,
----------------
ASDenysPetrov wrote:
> Notify the user about the contract.
Mistake. `CastTy`, not `SafeTy`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117229



More information about the cfe-commits mailing list