]> granicus.if.org Git - clang/commit
[ASTImporter] Support LambdaExprs and improve template support
authorAleksei Sidorin <a.sidorin@samsung.com>
Fri, 26 Jan 2018 11:36:54 +0000 (11:36 +0000)
committerAleksei Sidorin <a.sidorin@samsung.com>
Fri, 26 Jan 2018 11:36:54 +0000 (11:36 +0000)
commitb926dd8427655ec16e1c5a49094e8f4f47f43952
treeea2fbb71d876f2d59818ee40e84178008b424cfd
parentb45d7017a7acffbf1ce821519b4fda9f9133e009
[ASTImporter] Support LambdaExprs and improve template support

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

Differential Revision: https://reviews.llvm.org/D42301

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323519 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
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 [new file with mode: 0644]
test/ASTMerge/function-cpp/test.cpp [new file with mode: 0644]
test/Import/template-specialization/Inputs/T.cpp
test/Import/template-specialization/test.cpp
unittests/AST/ASTImporterTest.cpp