HomePhabricator

[analyzer] Introduce minor refactoring of SVal::getSubKind function

Authored by ASDenysPetrov on Jul 31 2020, 5:54 AM.

Description

[analyzer] Introduce minor refactoring of SVal::getSubKind function

Summary: BaseMask occupies the lowest bits. Effect of applying the mask is neutralized by right shift operation, thus making it useless.

Fix: Remove a redundant bitwise operation.

Differential Revision: https://reviews.llvm.org/D85026