Re: r307316 - Reject attempts to build a module without -fmodules, rather than silently doing weird things.

2017-07-10 Thread David Blaikie via cfe-commits
What's the reason that passing a module file can't imply -fmodules without the user needing to specify it? On Thu, Jul 6, 2017 at 2:06 PM Richard Smith via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: rsmith > Date: Thu Jul 6 14:05:56 2017 > New Revision: 307316 > > URL: http://llv

r307316 - Reject attempts to build a module without -fmodules, rather than silently doing weird things.

2017-07-06 Thread Richard Smith via cfe-commits
Author: rsmith Date: Thu Jul 6 14:05:56 2017 New Revision: 307316 URL: http://llvm.org/viewvc/llvm-project?rev=307316&view=rev Log: Reject attempts to build a module without -fmodules, rather than silently doing weird things. Added: cfe/trunk/test/Modules/missing-flag.cpp Modified: cfe/