Re: r253398 - [modules] When a #include is mapped to a module import and appears somewhere

2015-11-17 Thread David Blaikie via cfe-commits
On Tue, Nov 17, 2015 at 4:15 PM, Richard Smith wrote: > On Tue, Nov 17, 2015 at 3:40 PM, David Blaikie wrote: > >> On Tue, Nov 17, 2015 at 3:32 PM, Richard Smith via cfe-commits < >> cfe-commits@lists.llvm.org> wrote: >> >>> Author: rsmith >>> Date: Tue Nov 17 17:32:01 2015 >>> New Revision: 253

Re: r253398 - [modules] When a #include is mapped to a module import and appears somewhere

2015-11-17 Thread Richard Smith via cfe-commits
On Tue, Nov 17, 2015 at 3:40 PM, David Blaikie wrote: > On Tue, Nov 17, 2015 at 3:32 PM, Richard Smith via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> Author: rsmith >> Date: Tue Nov 17 17:32:01 2015 >> New Revision: 253398 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=253398&vie

Re: r253398 - [modules] When a #include is mapped to a module import and appears somewhere

2015-11-17 Thread David Blaikie via cfe-commits
On Tue, Nov 17, 2015 at 3:32 PM, Richard Smith via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: rsmith > Date: Tue Nov 17 17:32:01 2015 > New Revision: 253398 > > URL: http://llvm.org/viewvc/llvm-project?rev=253398&view=rev > Log: > [modules] When a #include is mapped to a module imp

r253398 - [modules] When a #include is mapped to a module import and appears somewhere

2015-11-17 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Nov 17 17:32:01 2015 New Revision: 253398 URL: http://llvm.org/viewvc/llvm-project?rev=253398&view=rev Log: [modules] When a #include is mapped to a module import and appears somewhere other than the top level, we issue an error. This breaks a fair amount of C++ code wrapp