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)
commit90b0a1fc58cc0987d748eb02ecadee743d2efd97
treeace16dfbdb2202ed58adf3d5363cf0c1a3f18126
parent42b2a0e162933d3d942c3dc259344bea67d489ad
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.

llvm-svn: 330452
clang/include/clang/Basic/Module.h
clang/lib/Basic/Module.cpp
clang/lib/Lex/ModuleMap.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp