diff options
author | Rafael Stahl <r.stahl@tum.de> | 2018-07-09 08:40:17 +0000 |
---|---|---|
committer | Rafael Stahl <r.stahl@tum.de> | 2018-07-09 08:40:17 +0000 |
commit | 72faa33b45d4a43de5587623948b1635059a5ab5 (patch) | |
tree | 3ba808786ca365a67c5ae3d7f70fa1829f72b368 /unittests | |
parent | 15e70438359dad2206c30f87afc1c4f6cb063b5e (diff) |
[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
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/AST/ASTImporterTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/AST/ASTImporterTest.cpp b/unittests/AST/ASTImporterTest.cpp index 1f86b91a88..34ed5b93a8 100644 --- a/unittests/AST/ASTImporterTest.cpp +++ b/unittests/AST/ASTImporterTest.cpp @@ -1620,7 +1620,7 @@ TEST_P(ASTImporterTestBase, ImportSourceLocs) { FromSM); } -TEST_P(ASTImporterTestBase, DISABLED_ImportNestedMacro) { +TEST_P(ASTImporterTestBase, ImportNestedMacro) { Decl *FromTU = getTuDecl( R"( #define FUNC_INT void declToImport |