[clang] do not emit note for bad conversion when destination type qualifiers are...
authorZequan Wu <zequanwu@google.com>
Wed, 29 Sep 2021 22:00:39 +0000 (15:00 -0700)
committerZequan Wu <zequanwu@google.com>
Thu, 30 Sep 2021 18:24:18 +0000 (11:24 -0700)
commitdbaa40833693e79a8fcbea6435eb3b0becfd67ad
treed04f7e71c5cce85e3d9880e832312766907444cd
parentfa32fd3bf7c070e62487e5ccba00557d57b2ee5c
[clang] do not emit note for bad conversion when destination type qualifiers are not compatibly include source type qualifiers

llvm.org/PR52014

Differential Revision: https://reviews.llvm.org/D110780
clang/lib/Sema/SemaInit.cpp
clang/test/SemaCXX/pointer-forward-declared-class-conversion.cpp