Skip to content

Commit 61cfe2f

Browse files
authored
Reland "[C++ BoundsSafety] Fix false positives when pointer argument is a function call (#11046)" (#11358) (#11342)
When the pointer argument passing to a counted_by parameter is a function call returning a counted_by pointer, in order to check the compatibility with respect to their counted_by attributes, the compiler need to compare two expressions, which both have references to parameters that need substitutions. This commit is to generalize the compatibility checking to allow both comparands to be accompanied by substitution maps. rdar://155952016 (cherry picked from commit 46a1881)
1 parent ab98fa0 commit 61cfe2f

File tree

2 files changed

+257
-128
lines changed

2 files changed

+257
-128
lines changed

0 commit comments

Comments
 (0)