[PATCH] D151365: [Sema] cast to CXXRecordDecl correctly when diag a default comparison method

Congcong Cai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 24 13:04:56 PDT 2023


HerrCai0907 added a comment.

In D151365#4369605 <https://reviews.llvm.org/D151365#4369605>, @erichkeane wrote:

> As Richard says, we should just be taking the first parameter type and using that instead (obviously de-qualified and removing reference if necessary).

But we still can find the correctly RecordDecl by `redecls`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151365/new/

https://reviews.llvm.org/D151365



More information about the cfe-commits mailing list