summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-06-13 20:27:03 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-06-13 20:27:03 +0000
commit8acadcb84bcb70e1eea08cf261a2f4f5973578c3 (patch)
tree84f91fcb648badaf8014efa8581c738d40368d06 /clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h
parentdc3559106b15c8b44355560ec5203f0a1b441d69 (diff)
downloadbcm5719-llvm-8acadcb84bcb70e1eea08cf261a2f4f5973578c3.tar.gz
bcm5719-llvm-8acadcb84bcb70e1eea08cf261a2f4f5973578c3.zip
Add -isystem-prefix and -ino-system-prefix arguments, which can be used to
override whether headers are system headers by checking for prefixes of the header name specified in the #include directive. This allows warnings to be disabled for third-party code which is found in specific subdirectories of include paths. llvm-svn: 158418
Diffstat (limited to 'clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h')
-rw-r--r--clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h b/clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h
new file mode 100644
index 00000000000..6a0c102ea45
--- /dev/null
+++ b/clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h
@@ -0,0 +1,2 @@
+#if MYLIB
+#endif
OpenPOWER on IntegriCloud