DescriptionAdd a workaround to compare types in mocked method
The description of type returned by @encode(__typeof__(expr)) and
[[NSInvocation methodSignature] methodReturnType] are not equal
for C++ objects when building with libc++.
The value returned by methodSignature does not expand some internal
template parameters. When comparing the types are the same, we do
not really care about the type implementation, just that the types
are the same (ie. same global name), so just ignore all expansions.
BUG=377691
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279796
Patch Set 1 #Patch Set 2 : Add note in README.chromium and sync with upstream pull request #
Messages
Total messages: 7 (0 generated)
|