Akira Hatanaka 5fa4629581 [Sema] Check whether __auto_type has been deduced before merging
This fixes a bug in clang where it emits the following diagnostic when
compiling the test case:

"argument to 'sizeof' in 'memset' call is the same pointer type 'S' as
the destination"

The code that merges __auto_type with other types was committed in
https://reviews.llvm.org/D122029.

Differential Revision: https://reviews.llvm.org/D128373
2022-06-24 09:49:07 -07:00
..
2022-03-30 22:44:34 +08:00
2022-06-20 20:17:57 -07:00
2021-12-17 18:19:25 -08:00