[Modules] Add a command line option for loading the clang builtins modulemap.
authorElad Cohen <elad2.cohen@intel.com>
Mon, 31 Oct 2016 08:21:54 +0000 (08:21 +0000)
committerElad Cohen <elad2.cohen@intel.com>
Mon, 31 Oct 2016 08:21:54 +0000 (08:21 +0000)
commit938f5164246680722ca22981677f2cb385666d0a
tree7c8b5ccb0f80d848dfc3270d6b0bdc6a2d441da7
parentcc012b3a370b2d24b6ec59b6567ccfb89af16790
[Modules] Add a command line option for loading the clang builtins modulemap.

-fbuiltin-module-map loads the clang builtins modulemap file. (This is
equivalent to -fmodule-map-file=<resource dir>/include/module.modulemap)

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

llvm-svn: 285548
clang/docs/Modules.rst
clang/include/clang/Driver/Options.td
clang/lib/Driver/Tools.cpp
clang/test/Driver/modules.m
clang/test/Modules/compiler_builtins.m
clang/test/Modules/compiler_builtins_x86.c
clang/test/lit.cfg