[modules] Start moving the module visibility information off the Module itself.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 1 May 2015 01:53:09 +0000 (01:53 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 1 May 2015 01:53:09 +0000 (01:53 +0000)
commita7e2cc684fee41abe367205521bf225dd3d582c0
tree181a89be83c538a615bd2a1cf9200826c848960a
parent65ace9daa36051aeeb8140bce8e154c61374938f
[modules] Start moving the module visibility information off the Module itself.

It has no place there; it's not a property of the Module, and it makes
restoring the visibility set when we leave a submodule more difficult.

llvm-svn: 236300
23 files changed:
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/include/clang/Basic/DiagnosticSerializationKinds.td
clang/include/clang/Basic/Module.h
clang/include/clang/Frontend/ASTUnit.h
clang/include/clang/Frontend/CompilerInstance.h
clang/include/clang/Lex/ModuleLoader.h
clang/include/clang/Lex/ModuleMap.h
clang/include/clang/Lex/Preprocessor.h
clang/include/clang/Serialization/ASTReader.h
clang/lib/Basic/Module.cpp
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Lex/ModuleMap.cpp
clang/lib/Lex/PPDirectives.cpp
clang/lib/Lex/PPLexerChange.cpp
clang/lib/Lex/PPMacroExpansion.cpp
clang/lib/Lex/Preprocessor.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/unittests/Basic/SourceManagerTest.cpp
clang/unittests/Lex/LexerTest.cpp
clang/unittests/Lex/PPCallbacksTest.cpp
clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp