[Modules] Add 'freestanding' to the 'requires-declaration' feature-list.
authorElad Cohen <elad2.cohen@intel.com>
Sun, 4 Sep 2016 06:00:42 +0000 (06:00 +0000)
committerElad Cohen <elad2.cohen@intel.com>
Sun, 4 Sep 2016 06:00:42 +0000 (06:00 +0000)
commitfb6358d2b5b25601a3172011238e229995f1b1a4
tree90a22a43af6bffc06948028c1268069bcf85bf05
parent8e571b551ef58e58b4229de5ce18a65406e70082
[Modules] Add 'freestanding' to the 'requires-declaration' feature-list.

This adds support for modules that require (non-)freestanding
environment, such as the compiler builtin mm_malloc submodule.

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

llvm-svn: 280613
clang/docs/Modules.rst
clang/lib/Basic/Module.cpp
clang/lib/Headers/module.modulemap
clang/test/Modules/compiler_builtins_x86.c [new file with mode: 0644]