[libcxx-commits] [PATCH] D111283: [clang] template / auto deduction deduces common sugar
Chuanqi Xu via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 1 19:23:17 PDT 2022
ChuanqiXu added inline comments.
================
Comment at: clang/include/clang/AST/ASTContext.h:2819-2823
+ // For two canonically equal types, return a type which has
+ // the common sugar between them. If Unqualified is true,
+ // both types need only be the same unqualified type.
+ // The result will drop the qualifiers which do not occur
+ // in both types.
----------------
For this comment, I want to know what if `X`and `Y` is not equal. Is there an assertion failure or special type returned?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111283/new/
https://reviews.llvm.org/D111283
More information about the libcxx-commits
mailing list