Record whether a module came from a private module map
authorJordan Rose <jordan_rose@apple.com>
Fri, 20 Apr 2018 17:16:04 +0000 (17:16 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 20 Apr 2018 17:16:04 +0000 (17:16 +0000)
commitb55a60fc58fee669587a69c7ada747e88cc59c14
treed534bdee6da522900a636d6c03c2898ab8ce619b
parent052902970a47baaef8ff1732b0e10bcd0433ae8a
Record whether a module came from a private module map

Right now we only use this information in one place, immediately after
we calculate it, but it's still nice information to have. The Swift
project is going to use this to tidy up its "API notes" feature (see
past discussion on cfe-dev that never quite converged).

Reviewed by Bruno Cardoso Lopes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330452 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Module.h
lib/Basic/Module.cpp
lib/Lex/ModuleMap.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp