llvm-project/clang/unittests
Rafael Stahl cc19f921b5 [analyzer] Pass the correct loc Expr from VisitIncDecOp to evalStore
Summary: The LocationE parameter of evalStore is documented as "The location expression that is stored to". When storing from an increment / decrement operator this was not satisfied. In user code this causes an inconsistency between the SVal and Stmt parameters of checkLocation.

Reviewers: NoQ, dcoughlin, george.karpenkov

Reviewed By: NoQ

Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, cfe-commits

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

llvm-svn: 350528
2019-01-07 15:07:01 +00:00
..
AST [unittests] Remove superfluous semicolon, fixing warnings with GCC. NFC. 2018-12-18 08:36:16 +00:00
ASTMatchers [clang] Add AST matcher for initializer list members 2019-01-07 14:14:36 +00:00
Analysis Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
Basic Remove stat cache chaining as it's no longer needed after PTH support has been 2018-12-21 19:33:09 +00:00
CodeGen Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
CrossTU Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
Driver [Distro] Support detecting Gentoo 2018-12-23 15:07:19 +00:00
Format clang-format: [JS] support goog.requireType. 2019-01-07 13:12:50 +00:00
Frontend Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
Index Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
Lex Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Rename Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
Rewrite [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
Sema [CodeComplete] Fix test failure on different host and target configs 2018-12-17 16:37:52 +00:00
StaticAnalyzer [analyzer] Pass the correct loc Expr from VisitIncDecOp to evalStore 2019-01-07 15:07:01 +00:00
Tooling Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
libclang Revert r336590 "[libclang] evalute compound statement cursors before trying to evaluate" 2018-07-10 19:49:07 +00:00
CMakeLists.txt [Index] Add an option to collect macros from preprocesor. 2018-09-18 08:51:08 +00:00