]> granicus.if.org Git - clang/commit
When attempting to load a module that is not in the module cache,
authorDouglas Gregor <dgregor@apple.com>
Mon, 28 Nov 2011 23:16:06 +0000 (23:16 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 28 Nov 2011 23:16:06 +0000 (23:16 +0000)
commita4d36a6dd00c1495cfe3b64f949d70ba9f778391
tree37493559bba76558ed520c0690e7120187d52a75
parent185e9305f59b2286e1997a8a7bf02aa7bfaf261f
When attempting to load a module that is not in the module cache,
return the module itself (in the module map) rather than returning the
umbrella header used to build the module. While doing this, make sure
that we're inferring modules for frameworks to build that module.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145310 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/HeaderSearch.h
lib/Frontend/CompilerInstance.cpp
lib/Lex/HeaderSearch.cpp