[PATCH] D114908: [clang] Don't call inheritDefaultTemplateArguments() on CXXDeductionGuideDecl's template parameters
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 16 18:42:12 PST 2022
ChuanqiXu added a comment.
In D114908#3223981 <https://reviews.llvm.org/D114908#3223981>, @rnk wrote:
> Friendly ping for a modules CTAD bugfix.
Not sure if you met the same problem with me. In our downstream, we did a workaround like:
if (Context.getLangOpts().CPlusPlusModules &&
To->getOwningModule() != From->getOwningModule())
return false;
We workarounded the problem by inserting the above checking in `inheritDefaultTemplateArgument()` in ASTReaderDecl. Hope this helps.
(I understand this is not a good solution)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114908/new/
https://reviews.llvm.org/D114908
More information about the cfe-commits
mailing list