diff options
Diffstat (limited to 'test/Preprocessor/Inputs')
11 files changed, 30 insertions, 0 deletions
diff --git a/test/Preprocessor/Inputs/headermap-rel/Foo.framework/Headers/Foo.h b/test/Preprocessor/Inputs/headermap-rel/Foo.framework/Headers/Foo.h new file mode 100644 index 0000000000000..04ffb5a488f9e --- /dev/null +++ b/test/Preprocessor/Inputs/headermap-rel/Foo.framework/Headers/Foo.h @@ -0,0 +1,2 @@ + +Foo.h is parsed diff --git a/test/Preprocessor/Inputs/headermap-rel/foo.hmap b/test/Preprocessor/Inputs/headermap-rel/foo.hmap Binary files differnew file mode 100644 index 0000000000000..783c64e67bb80 --- /dev/null +++ b/test/Preprocessor/Inputs/headermap-rel/foo.hmap diff --git a/test/Preprocessor/Inputs/headermap-rel2/Product/someheader.h b/test/Preprocessor/Inputs/headermap-rel2/Product/someheader.h new file mode 100644 index 0000000000000..ca2e52103b302 --- /dev/null +++ b/test/Preprocessor/Inputs/headermap-rel2/Product/someheader.h @@ -0,0 +1 @@ +#define A 2 diff --git a/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap b/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap Binary files differnew file mode 100644 index 0000000000000..a0770fb251242 --- /dev/null +++ b/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap diff --git a/test/Preprocessor/Inputs/headermap-rel2/system/usr/include/someheader.h b/test/Preprocessor/Inputs/headermap-rel2/system/usr/include/someheader.h new file mode 100644 index 0000000000000..ab2a05dbbf848 --- /dev/null +++ b/test/Preprocessor/Inputs/headermap-rel2/system/usr/include/someheader.h @@ -0,0 +1 @@ +#define A 1 diff --git a/test/Preprocessor/Inputs/microsoft-header-search/a/b/include3.h b/test/Preprocessor/Inputs/microsoft-header-search/a/b/include3.h new file mode 100644 index 0000000000000..3f477e725d737 --- /dev/null +++ b/test/Preprocessor/Inputs/microsoft-header-search/a/b/include3.h @@ -0,0 +1,5 @@ +#pragma once + +#include "findme.h" + +#include "falsepos.h" diff --git a/test/Preprocessor/Inputs/microsoft-header-search/a/findme.h b/test/Preprocessor/Inputs/microsoft-header-search/a/findme.h new file mode 100644 index 0000000000000..b809c9075d60b --- /dev/null +++ b/test/Preprocessor/Inputs/microsoft-header-search/a/findme.h @@ -0,0 +1,3 @@ +#pragma once + +#warning findme.h successfully included using MS search rules
\ No newline at end of file diff --git a/test/Preprocessor/Inputs/microsoft-header-search/a/include2.h b/test/Preprocessor/Inputs/microsoft-header-search/a/include2.h new file mode 100644 index 0000000000000..99640ae47a875 --- /dev/null +++ b/test/Preprocessor/Inputs/microsoft-header-search/a/include2.h @@ -0,0 +1,6 @@ +#pragma once + +#include "b/include3.h" +#pragma once + +#include "b/include3.h"
\ No newline at end of file diff --git a/test/Preprocessor/Inputs/microsoft-header-search/falsepos.h b/test/Preprocessor/Inputs/microsoft-header-search/falsepos.h new file mode 100644 index 0000000000000..cb8596985743a --- /dev/null +++ b/test/Preprocessor/Inputs/microsoft-header-search/falsepos.h @@ -0,0 +1,3 @@ +#pragma once + +#warning successfully resolved the falsepos.h header diff --git a/test/Preprocessor/Inputs/microsoft-header-search/findme.h b/test/Preprocessor/Inputs/microsoft-header-search/findme.h new file mode 100644 index 0000000000000..aeaf795a1a806 --- /dev/null +++ b/test/Preprocessor/Inputs/microsoft-header-search/findme.h @@ -0,0 +1,3 @@ +#pragma once + +#error Wrong findme.h included, MSVC header search incorrect
\ No newline at end of file diff --git a/test/Preprocessor/Inputs/microsoft-header-search/include1.h b/test/Preprocessor/Inputs/microsoft-header-search/include1.h new file mode 100644 index 0000000000000..f00fac7a17991 --- /dev/null +++ b/test/Preprocessor/Inputs/microsoft-header-search/include1.h @@ -0,0 +1,6 @@ +#pragma once + +#include "a/include2.h" +#pragma once + +#include "a/include2.h"
\ No newline at end of file |
