aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2022-06-22 11:52:22 -0700
committerAkira Hatanaka <ahatanaka@apple.com>2022-06-24 09:49:07 -0700
commit5fa4629581f6938cc175be5d4a3fccdfbf9fc227 (patch)
tree2a91e615703e48fa3aac03d04c1b0981ce62ed57 /clang/lib/Frontend/CompilerInvocation.cpp
parent5e97788a3eca62aa80cf42bdc697e93838554cda (diff)
downloadllvm-5fa4629581f6938cc175be5d4a3fccdfbf9fc227.zip
llvm-5fa4629581f6938cc175be5d4a3fccdfbf9fc227.tar.gz
llvm-5fa4629581f6938cc175be5d4a3fccdfbf9fc227.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions