[PATCH] D53655: [ASTImporter] Fix redecl chain of classes and class templates
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 26 02:39:13 PDT 2018
balazske added inline comments.
================
Comment at: lib/AST/ASTImporter.cpp:5054
+ if (!ToTemplated->getPreviousDecl()) {
+ auto *PrevTemplated = FoundByLookup->getTemplatedDecl()->getMostRecentDecl();
+ if (ToTemplated != PrevTemplated)
----------------
This is a long line that should be split.
Repository:
rC Clang
https://reviews.llvm.org/D53655
More information about the cfe-commits
mailing list