[PATCH] D47450: [ASTImporter] Use InjectedClassNameType at import of templated record.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 30 06:55:35 PDT 2018
balazske requested review of this revision.
balazske added inline comments.
================
Comment at: lib/AST/ASTImporter.cpp:2131
D2CXX->setDescribedClassTemplate(ToDescribed);
+ if (!DCXX->isInjectedClassName()) {
+ // In a record describing a template the type should be a
----------------
a.sidorin wrote:
> Maybe we should fix it a bit upper (line 2100)?
The `ToDescribed` is used in this code, not available before the new record is created.
Repository:
rC Clang
https://reviews.llvm.org/D47450
More information about the cfe-commits
mailing list