[PATCH] D42301: [ASTImporter] Support LambdaExprs and improve template support

Aleksei Sidorin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 23 00:32:37 PST 2018


a.sidorin added a comment.

> I do not see a test for the following changes:
> 
> - ASTImporter: don't add templated declarations into DeclContext

It's in ASTImporterTest. It checks that the templated decl cannot be found in the enclosing TU.

> - ASTImporter: proper set ParmVarDecls for imported FunctionProtoTypeLoc

test/ASTMerge/function-cpp. If you remove the change, Sema will segfault.


Repository:
  rC Clang

https://reviews.llvm.org/D42301





More information about the cfe-commits mailing list