[ASTImporter] import FunctionDecl end locations
authorRafael Stahl <r.stahl@tum.de>
Mon, 9 Jul 2018 08:40:17 +0000 (08:40 +0000)
committerRafael Stahl <r.stahl@tum.de>
Mon, 9 Jul 2018 08:40:17 +0000 (08:40 +0000)
commita0010472cac3f8e3d39ec081c421c866e5781738
treef138bd897c937dccde36dc8e1ae959962f21655c
parent9e1e0c7b2ac47dc1d09bbbbd4f5717020cb8b3d4
[ASTImporter] import FunctionDecl end locations

Summary: On constructors that do not take the end source location, it was not imported. Fixes test from D47698 / rC336269.

Reviewers: martong, a.sidorin, balazske, xazax.hun, a_sidorin

Reviewed By: martong, a_sidorin

Subscribers: a_sidorin, rnkovacs, cfe-commits

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

llvm-svn: 336523
clang/lib/AST/ASTImporter.cpp
clang/unittests/AST/ASTImporterTest.cpp