[all-commits] [llvm/llvm-project] 21fa82: [analyzer] Introduce minor refactoring of SVal::ge...
Denys Petrov via All-commits
all-commits at lists.llvm.org
Mon Aug 3 05:05:53 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 21fa82d5c63c30c745d5181889329084ac6d2767
https://github.com/llvm/llvm-project/commit/21fa82d5c63c30c745d5181889329084ac6d2767
Author: Denys Petrov <dpetrov at accesssoftek.com>
Date: 2020-08-03 (Mon, 03 Aug 2020)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
Log Message:
-----------
[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
More information about the All-commits
mailing list