Refactor implementation of 'exclude header'.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 23 Oct 2014 02:01:19 +0000 (02:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 23 Oct 2014 02:01:19 +0000 (02:01 +0000)
commitfeb54b6ded123f8118fdc20620d3f657dfeab485
tree2d5da6d7e7177e958d8bab12f2d7b6a6d4aa832b
parent7db296eba537ace7bf9f19e3fc3a71457d90084d
Refactor implementation of 'exclude header'.

This was not a real header role, and was never exposed to clients of ModuleMap.
Remove the enumeration value for it and track it as marking the header as
'known' rather than creating an extra KnownHeader entry that *every single*
client ignores.

llvm-svn: 220460
clang/include/clang/Lex/ModuleMap.h
clang/lib/Lex/ModuleMap.cpp
clang/test/Modules/Inputs/declare-use/m.h [new file with mode: 0644]
clang/test/Modules/Inputs/declare-use/m2.h [new file with mode: 0644]
clang/test/Modules/Inputs/declare-use/module.map
clang/test/Modules/textual-headers.cpp
clang/tools/libclang/CIndex.cpp