commit | 09833925a3ac68065565e9556d06e9576ec6eaa9 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Dec 06 17:31:28 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Dec 06 17:31:28 2011 +0000 |
tree | 7b9df1ff2c7260e6d5139fcec0cbfa2255d6d1d7 | |
parent | d620a84a01cc232a9449dbcc2c40bd43ca314fc9 [diff] |
When suggesting a module import for a #include or #import, suggest the most specific (sub)module based on the actual file we find, rather than always importing the top-level module. This means that #include'ing <Foo/Blah.h> should give us the submodule Foo.Blah. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145942 91177308-0d34-0410-b5e6-96231b3b80d8