[PATCH] D47419: [SemaDeclCXX] Allow inheriting constructor declaration that specify a cv-qualified type

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 27 19:39:49 PDT 2018

rsmith added inline comments.

Comment at: lib/Sema/SemaDeclCXX.cpp:9690
+  CanQualType CanonicalDesiredBase = DesiredBase->getCanonicalTypeUnqualified()
+    .getUnqualifiedType();
   for (auto &Base : Derived->bases()) {
How are we getting a qualified type here? Is this actually a bug in `getCanonicalTypeUnqualified`?

  rC Clang


More information about the cfe-commits mailing list