[PATCH] D111283: [clang] WIP: template / auto deduction deduces common sugar

2021-10-08 Thread Matheus Izvekov via Phabricator via cfe-commits
mizvekov updated this revision to Diff 378313. mizvekov edited the summary of this revision. mizvekov added a comment. - Handle all type classes. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D111283/new/ https://reviews.llvm.org/D111283 Files: c

[PATCH] D111283: [clang] WIP: template / auto deduction deduces common sugar

2021-10-07 Thread Matheus Izvekov via Phabricator via cfe-commits
mizvekov updated this revision to Diff 378054. mizvekov added a comment. - Handle almost all type classes in getCommonSugar. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D111283/new/ https://reviews.llvm.org/D111283 Files: clang/include/clang/AS

[PATCH] D111283: [clang] WIP: template / auto deduction deduces common sugar

2021-10-07 Thread Matheus Izvekov via Phabricator via cfe-commits
mizvekov updated this revision to Diff 377867. mizvekov added a comment. . Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D111283/new/ https://reviews.llvm.org/D111283 Files: clang/include/clang/AST/ASTContext.h clang/include/clang/Sema/Sema.h

[PATCH] D111283: [clang] WIP: template / auto deduction deduces common sugar

2021-10-06 Thread Matheus Izvekov via Phabricator via cfe-commits
mizvekov created this revision. mizvekov published this revision for review. Herald added a project: clang. Herald added a subscriber: cfe-commits. This patch implements deducing the common sugar between two types, and uses it to establish the result when checking deduced template arguments. This