summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/submodules/vector.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-30 04:03:44 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-30 04:03:44 +0000
commit5196bc6b39b5890697f9f2b0bbde1233a0b26dda (patch)
tree2dbe166dc0f61413cf23990cb0a05b995cb6ddd5 /clang/test/Modules/Inputs/submodules/vector.h
parent5a14c543c735d308fb799e1e4eb214d26a7db945 (diff)
downloadbcm5719-llvm-5196bc6b39b5890697f9f2b0bbde1233a0b26dda.tar.gz
bcm5719-llvm-5196bc6b39b5890697f9f2b0bbde1233a0b26dda.zip
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. llvm-svn: 145477
Diffstat (limited to 'clang/test/Modules/Inputs/submodules/vector.h')
-rw-r--r--clang/test/Modules/Inputs/submodules/vector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/submodules/vector.h b/clang/test/Modules/Inputs/submodules/vector.h
new file mode 100644
index 00000000000..3123dd1c84b
--- /dev/null
+++ b/clang/test/Modules/Inputs/submodules/vector.h
@@ -0,0 +1 @@
+template<typename T> class vector;
OpenPOWER on IntegriCloud