]> granicus.if.org Git - clang/commit
When loading a module that involves submodules (e.g., std.vector),
authorDouglas Gregor <dgregor@apple.com>
Wed, 30 Nov 2011 04:03:44 +0000 (04:03 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 30 Nov 2011 04:03:44 +0000 (04:03 +0000)
commit49009ec701feb3009450e57e40c656e2ad7c1f41
tree54cb8918b4ec5558494cb58c3d7e667c58eaa616
parentdc8dab6fabf4bfd4f4b94bf572ac3342a5bbfcd7
When loading a module that involves submodules (e.g., std.vector),
check whether the named submodules themselves are actually
valid, and drill down to the named submodule (although we don't do
anything with it yet). Perform typo correction on the submodule names
when possible.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145477 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticFrontendKinds.td
include/clang/Frontend/CompilerInstance.h
lib/Frontend/CompilerInstance.cpp
test/Modules/Inputs/submodules/module.map [new file with mode: 0644]
test/Modules/Inputs/submodules/type_traits.h [new file with mode: 0644]
test/Modules/Inputs/submodules/vector.h [new file with mode: 0644]
test/Modules/submodules.cpp [new file with mode: 0644]