[modules] Add support for 'textual header' directives.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 22 Oct 2014 23:50:56 +0000 (23:50 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 22 Oct 2014 23:50:56 +0000 (23:50 +0000)
commit306d892076c831131ebe47125b1dfe41f736e1b0
treef6cbaae79943965a27b80f55cecf03b3a6d81ec9
parent1fd051bfe8f4013f1bd973b28fd2b3f23ad7b7a5
[modules] Add support for 'textual header' directives.

This allows a module to specify that it logically contains a file, but that
said file is non-modular and intended for textual inclusion. This allows
layering checks to work properly in the presence of such files.

llvm-svn: 220448
clang/docs/Modules.rst
clang/include/clang/Basic/Module.h
clang/include/clang/Lex/ModuleMap.h
clang/include/clang/Serialization/ASTBitCodes.h
clang/lib/Basic/Module.cpp
clang/lib/Lex/ModuleMap.cpp
clang/lib/Lex/PPLexerChange.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/Modules/Inputs/declare-use/module.map