[modules] Mark deleted functions as implicitly inline to allow merging
authorEric Fiselier <eric@efcs.ca>
Mon, 31 Oct 2016 23:07:15 +0000 (23:07 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 31 Oct 2016 23:07:15 +0000 (23:07 +0000)
commit525a3514479692be9704210f18f7ef9fa58758d9
treeca165f53be155979863313cbac5d0adcd7e41da6
parent51cbe13a3ff507a14ab8d27a0505c30b33af7073
[modules] Mark deleted functions as implicitly inline to allow  merging

Summary: When merging definitions with ModulesLocalVisibility enabled it's important to make deleted definitions implicitly inline, otherwise they'll be diagnosed as a redefinition.

Reviewers: silvas, manmanren, rsmith

Subscribers: cfe-commits

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

llvm-svn: 285655
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/Modules/Inputs/merge-decl-context/a.h