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

Aleksei Sidorin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 08:17:46 PST 2018


a.sidorin created this revision.
a.sidorin added reviewers: xazax.hun, szepet, jingham.
a.sidorin added a project: clang.
Herald added subscribers: rnkovacs, kristof.beyls, aemerson.

Also, a number of style and bug fixes was done:

- ASTImporterTest: added sanity check for source node
- ExternalASTMerger: better lookup for template specializations
- ASTImporter: don't add templated declarations into DeclContext
- ASTImporter: introduce a helper, ImportTemplateArgumentListInfo getting SourceLocations
- ASTImporter: proper set ParmVarDecls for imported FunctionProtoTypeLoc


Repository:
  rC Clang

https://reviews.llvm.org/D42301

Files:
  lib/AST/ASTImporter.cpp
  lib/AST/ASTStructuralEquivalence.cpp
  lib/AST/ExternalASTMerger.cpp
  test/ASTMerge/class-template/Inputs/class-template1.cpp
  test/ASTMerge/class-template/Inputs/class-template2.cpp
  test/ASTMerge/class-template/test.cpp
  test/ASTMerge/exprs-cpp/Inputs/exprs3.cpp
  test/ASTMerge/exprs-cpp/test.cpp
  test/ASTMerge/function-cpp/Inputs/function-1.cpp
  test/ASTMerge/function-cpp/test.cpp
  test/Import/template-specialization/Inputs/T.cpp
  test/Import/template-specialization/test.cpp
  unittests/AST/ASTImporterTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42301.130623.patch
Type: text/x-patch
Size: 36602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180119/08247b46/attachment-0001.bin>


More information about the cfe-commits mailing list