Infer "link" lines for top-level frameworks. Essentially, a framework
authorDouglas Gregor <dgregor@apple.com>
Mon, 14 Jan 2013 17:57:51 +0000 (17:57 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 14 Jan 2013 17:57:51 +0000 (17:57 +0000)
commit11dfe6fe3d0736d46c9cfc9de79bef60c671c097
treefad6c005c4c6ac8677b70fa2f1549a705cb4d4f4
parent924c478827ee3a21b669c2f65f9a76b15567f852
Infer "link" lines for top-level frameworks. Essentially, a framework
will have a shared library with the same name as its framework (and no
suffix!) within its .framework directory. Detect this both when
inferring the whole top-level framework and when parsing a module map.

llvm-svn: 172439
clang/include/clang/Basic/Module.h
clang/lib/Lex/ModuleMap.cpp
clang/test/Modules/Inputs/Module.framework/Module [new file with mode: 0644]
clang/test/Modules/Inputs/NoUmbrella.framework/NoUmbrella [new file with mode: 0644]
clang/test/Modules/autolink.m