diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2018-05-04 21:39:25 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2018-05-04 21:39:25 +0000 |
commit | 2fd6aa7d5603e13aaea80bcb391c04a8e1014b13 (patch) | |
tree | a33c161276109616a28ec69679d2f5c0cf50b0a7 /clang/lib/StaticAnalyzer/Core/Store.cpp | |
parent | 5b39acd111e082e2ba91eb83de7ecb9763f76115 (diff) | |
download | bcm5719-llvm-2fd6aa7d5603e13aaea80bcb391c04a8e1014b13.tar.gz bcm5719-llvm-2fd6aa7d5603e13aaea80bcb391c04a8e1014b13.zip |
[analyzer] pr37209: Fix casts of glvalues to references.
Many glvalue expressions aren't of their respective reference type -
they are simply glvalues of their value type.
This was causing problems when we were trying to obtain type of the original
expression while evaluating certain glvalue bit-casts.
Fixed by artificially forging a reference type to provide to the casting
procedure.
Differential Revision: https://reviews.llvm.org/D46224
llvm-svn: 331558
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/Store.cpp')
0 files changed, 0 insertions, 0 deletions