]> granicus.if.org Git - clang/commit
[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)
commit72faa33b45d4a43de5587623948b1635059a5ab5
tree3ba808786ca365a67c5ae3d7f70fa1829f72b368
parent15e70438359dad2206c30f87afc1c4f6cb063b5e
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@336523 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTImporter.cpp
unittests/AST/ASTImporterTest.cpp