mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
9dd25b76964280b01964faa1724131c9eaa840c5
r251874 stopped back-patching the AST when an Objective-C 'readonly' property is redeclared in a class extension as 'readwrite'. However, it did not properly handle merging of Objective-C property attributes (e.g., getter name, ownership, atomicity) to the redeclaration, leading to bad metadata. Merge (and check!) those property attributes so we get the right metadata and reasonable ASTs. Fixes rdar://problem/23823989. llvm-svn: 255309
Objective-C properties: merge attributes when redeclaring 'readonly' as 'readwrite' in an extension.
…
…
…
…
…
Languages
LLVM
41.5%
C++
31.7%
C
13%
Assembly
9.1%
MLIR
1.5%
Other
2.8%