[all-commits] [llvm/llvm-project] 13f444: [analyzer] Rework SValBuilder::evalCast function i...
Denys Petrov via All-commits
all-commits at lists.llvm.org
Tue Feb 16 04:31:19 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 13f4448ae7db1a477ec2d48776e46415a3401314
https://github.com/llvm/llvm-project/commit/13f4448ae7db1a477ec2d48776e46415a3401314
Author: Denys Petrov <dpetrov at accesssoftek.com>
Date: 2021-02-16 (Tue, 16 Feb 2021)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
M clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
Log Message:
-----------
[analyzer] Rework SValBuilder::evalCast function into maintainable and clear way
Summary: Refactor SValBuilder::evalCast function. Make the function clear and get rid of redundant and repetitive code. Unite SValBuilder::evalCast, SimpleSValBuilder::dispatchCast, SimpleSValBuilder::evalCastFromNonLoc and SimpleSValBuilder::evalCastFromLoc functions into single SValBuilder::evalCast.
This patch shall not change any previous behavior.
Differential Revision: https://reviews.llvm.org/D90157
More information about the All-commits
mailing list