diff options
author | Valeriy Savchenko <vsavchenko@apple.com> | 2021-03-23 18:48:58 +0300 |
---|---|---|
committer | Valeriy Savchenko <vsavchenko@apple.com> | 2021-04-07 13:44:43 +0300 |
commit | 4821c15691bab9efaef871c957a8ba73697cdda9 (patch) | |
tree | 33fb3ff24a45d4a2880c1c380dc1cbb1f80fdcaf /clang/lib/Basic/SourceManager.cpp | |
parent | a7eb6b00e934befae9e8e49803ae6621b27be604 (diff) | |
download | llvm-4821c15691bab9efaef871c957a8ba73697cdda9.zip llvm-4821c15691bab9efaef871c957a8ba73697cdda9.tar.gz llvm-4821c15691bab9efaef871c957a8ba73697cdda9.tar.bz2 |
[analyzer] Fix body farm for Obj-C++ properties
When property is declared in a superclass (or in a protocol),
it still can be of CXXRecord type and Sema could've already
generated a body for us. This patch joins two branches and
two ways of acquiring IVar in order to reuse the existing code.
And prevent us from generating l-value to r-value casts for
C++ types.
rdar://67416721
Differential Revision: https://reviews.llvm.org/D99194
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions