[all-commits] [llvm/llvm-project] 159024: [analyzer] Implement getType for SVal
Valeriy Savchenko via All-commits
all-commits at lists.llvm.org
Tue Jun 29 02:44:06 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 159024ce231502d4d68825c35c3548a14577f0fd
https://github.com/llvm/llvm-project/commit/159024ce231502d4d68825c35c3548a14577f0fd
Author: Valeriy Savchenko <vsavchenko at apple.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
M clang/lib/StaticAnalyzer/Core/SVals.cpp
M clang/unittests/StaticAnalyzer/CMakeLists.txt
A clang/unittests/StaticAnalyzer/SValTest.cpp
Log Message:
-----------
[analyzer] Implement getType for SVal
This commit adds a function to the top-class of SVal hierarchy to
provide type information about the value. That can be extremely
useful when this is the only piece of information that the user is
actually caring about.
Additionally, this commit introduces a testing framework for writing
unit-tests for symbolic values.
Differential Revision: https://reviews.llvm.org/D104550
More information about the All-commits
mailing list