summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/incomplete_mod_missing.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-05-20 13:49:41 +0000
committerDouglas Gregor <dgregor@apple.com>2013-05-20 13:49:41 +0000
commitf4e76b864f772fb2792e89a83e29c5ee340d58f4 (patch)
tree68c1cae0560735184b3f06245c648b9e61a564b1 /clang/test/Modules/Inputs/incomplete_mod_missing.h
parent9711b25d4ba545f6deb7a285c40b1fc8669f4fd5 (diff)
downloadbcm5719-llvm-f4e76b864f772fb2792e89a83e29c5ee340d58f4.tar.gz
bcm5719-llvm-f4e76b864f772fb2792e89a83e29c5ee340d58f4.zip
Add -Wincomplete-module, which detects when a header is included from a module but isn't itself part of a module.
llvm-svn: 182263
Diffstat (limited to 'clang/test/Modules/Inputs/incomplete_mod_missing.h')
-rw-r--r--clang/test/Modules/Inputs/incomplete_mod_missing.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/incomplete_mod_missing.h b/clang/test/Modules/Inputs/incomplete_mod_missing.h
new file mode 100644
index 00000000000..ffc85d5e730
--- /dev/null
+++ b/clang/test/Modules/Inputs/incomplete_mod_missing.h
@@ -0,0 +1,2 @@
+extern int *missing;
+
OpenPOWER on IntegriCloud