]> granicus.if.org Git - clang/commit
Enable both C and C++ modules with -fmodules, by switching -fcxx-modules to
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 30 Sep 2014 23:10:19 +0000 (23:10 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 30 Sep 2014 23:10:19 +0000 (23:10 +0000)
commitce4ac7bac8af566633bc1aad474f76977f15eaed
treeeea7254b258048b5c4b70984802b188bd7b252b5
parentdeabe6ff5dc7814ee22192f896ff5f473338b33d
Enable both C and C++ modules with -fmodules, by switching -fcxx-modules to
being on by default. -fno-cxx-modules can still be used to enable C modules but
not C++ modules, but C++ modules is not significantly less stable than C
modules any more.

Also remove some of the scare words from the modules documentation. We're
certainly not going to remove modules support (though we might change the
interface), and it works well enough to bootstrap and build lots of
non-trivial code.

Note that this does not represent a commitment to the current interface nor
implementation, and we still intend to follow whatever direction the C and C++
committees take regarding modules support.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@218717 91177308-0d34-0410-b5e6-96231b3b80d8
docs/Modules.rst
lib/Driver/Tools.cpp
test/Driver/modules.mm