aboutsummaryrefslogtreecommitdiff
path: root/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
commitf122a138e39dbb29162abfa9a3d44091d8efa7af (patch)
tree08459273e5a9442d2471a8f499d76c58341011bd /test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h
parent8ab09da1faaa33b9fa78de59cc4e191bfe9907b5 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h')
-rw-r--r--test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h b/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h
new file mode 100644
index 0000000000..6a0c102ea4
--- /dev/null
+++ b/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h
@@ -0,0 +1,2 @@
+#if MYLIB
+#endif