Skip to content

Commit 6dd70c9

Browse files
committed
[Clang importer] Delete a redundant attribute-import operation.
1 parent f618935 commit 6dd70c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2736,8 +2736,6 @@ namespace {
27362736
importedName,
27372737
{decl->param_begin(), decl->param_size()},
27382738
decl->isVariadic(), redundant);
2739-
if (result)
2740-
Impl.importAttributes(decl, result);
27412739

27422740
if ((result || redundant) && member) {
27432741
++NumFactoryMethodsAsInitializers;

0 commit comments

Comments
 (0)