[clang] When loading preamble from AST file, re-export modules in Sema.This addresses a FIXME in ASTReader.Modules were already re-exported for Preprocessor, but not for Sema.The result was that
[clang] When loading preamble from AST file, re-export modules in Sema.This addresses a FIXME in ASTReader.Modules were already re-exported for Preprocessor, but not for Sema.The result was that, with -fmodules-local-submodule-visibility, all ASTnodes belonging to a module that was loaded in a premable where notaccesible from the main part of the file and a diagnostic recommendingimporting those modules would be generated.Differential Revision: https://reviews.llvm.org/D86069
show more ...
[PCH/Modules] Check that the specific module cache path the PCH was built with, is the same asthe one in the current compiler invocation. If they differ reject the PCH.This protects against the ba
[PCH/Modules] Check that the specific module cache path the PCH was built with, is the same asthe one in the current compiler invocation. If they differ reject the PCH.This protects against the badness occurring from getting modules loaded from different module caches (see crashes).rdar://19889860llvm-svn: 229909