[PATCH] D103792: [clang][AST] Set correct DeclContext in ASTImporter lookup table for template params.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 9 08:21:55 PDT 2021


balazske marked an inline comment as done.
balazske added inline comments.


================
Comment at: clang/lib/AST/ASTImporter.cpp:6005
 
+  // Template parameters for a CXXDeductionGuideDecl are re-used by the
+  // non-deduction-guide-decl template. That template is imported too, and
----------------
shafik wrote:
> Is this case covered in the tests?
This test was left out but added now. But test `CTADImplicit` does fail if the import of `FunctionTemplateDecl` is handled similarly as the other cases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103792/new/

https://reviews.llvm.org/D103792



More information about the cfe-commits mailing list