[PATCH] D102492: [clang][AST] Add support for BindingDecl to ASTImporter.
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 2 02:53:26 PDT 2021
martong added a comment.
I like it, though I've found a nit.
================
Comment at: clang/lib/AST/ASTImporter.cpp:2301
+ ToD->setLexicalDeclContext(LexicalDC);
+ DC->addDeclInternal(ToD);
+ ToD->setBinding(ToType, ToBinding);
----------------
Should we use rather `addDeclToContexts` ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102492/new/
https://reviews.llvm.org/D102492
More information about the cfe-commits
mailing list