diff options
Diffstat (limited to 'test/Preprocessor/Inputs')
| -rw-r--r-- | test/Preprocessor/Inputs/cycle/a.h | 8 | ||||
| -rw-r--r-- | test/Preprocessor/Inputs/cycle/b.h | 1 | ||||
| -rw-r--r-- | test/Preprocessor/Inputs/cycle/c.h | 1 | ||||
| -rw-r--r-- | test/Preprocessor/Inputs/headermap-rel/foo.hmap | bin | 804 -> 0 bytes | |||
| -rw-r--r-- | test/Preprocessor/Inputs/headermap-rel/foo.hmap.json | 6 | ||||
| -rw-r--r-- | test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap | bin | 108 -> 0 bytes | |||
| -rw-r--r-- | test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap.json | 6 | ||||
| -rw-r--r-- | test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap | bin | 102 -> 0 bytes | |||
| -rw-r--r-- | test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap.json | 6 |
9 files changed, 28 insertions, 0 deletions
diff --git a/test/Preprocessor/Inputs/cycle/a.h b/test/Preprocessor/Inputs/cycle/a.h new file mode 100644 index 0000000000000..dd3ef35d61fc3 --- /dev/null +++ b/test/Preprocessor/Inputs/cycle/a.h @@ -0,0 +1,8 @@ +// Presence of 2 inclusion cycles +// b.h -> a.h -> b.h -> ... +// c.h -> a.h -> c.h -> ... +// makes it unfeasible to reach max inclusion depth in all possible ways. Need +// to stop earlier. + +#include "b.h" +#include "c.h" diff --git a/test/Preprocessor/Inputs/cycle/b.h b/test/Preprocessor/Inputs/cycle/b.h new file mode 100644 index 0000000000000..2243de1baf9a0 --- /dev/null +++ b/test/Preprocessor/Inputs/cycle/b.h @@ -0,0 +1 @@ +#include "a.h" diff --git a/test/Preprocessor/Inputs/cycle/c.h b/test/Preprocessor/Inputs/cycle/c.h new file mode 100644 index 0000000000000..2243de1baf9a0 --- /dev/null +++ b/test/Preprocessor/Inputs/cycle/c.h @@ -0,0 +1 @@ +#include "a.h" diff --git a/test/Preprocessor/Inputs/headermap-rel/foo.hmap b/test/Preprocessor/Inputs/headermap-rel/foo.hmap Binary files differdeleted file mode 100644 index 783c64e67bb80..0000000000000 --- a/test/Preprocessor/Inputs/headermap-rel/foo.hmap +++ /dev/null diff --git a/test/Preprocessor/Inputs/headermap-rel/foo.hmap.json b/test/Preprocessor/Inputs/headermap-rel/foo.hmap.json new file mode 100644 index 0000000000000..ccfd911f0f7fd --- /dev/null +++ b/test/Preprocessor/Inputs/headermap-rel/foo.hmap.json @@ -0,0 +1,6 @@ +{ + "mappings" : + { + "Foo.h" : "Foo/Foo.h" + } +} diff --git a/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap b/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap Binary files differdeleted file mode 100644 index a0770fb251242..0000000000000 --- a/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap +++ /dev/null diff --git a/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap.json b/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap.json new file mode 100644 index 0000000000000..e03703b1bb067 --- /dev/null +++ b/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap.json @@ -0,0 +1,6 @@ +{ + "mappings" : + { + "someheader.h" : "Product/someheader.h" + } +} diff --git a/test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap b/test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap Binary files differdeleted file mode 100644 index 9036f208711c4..0000000000000 --- a/test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap +++ /dev/null diff --git a/test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap.json b/test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap.json new file mode 100644 index 0000000000000..c69f1df772531 --- /dev/null +++ b/test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap.json @@ -0,0 +1,6 @@ +{ + "mappings" : + { + "Foo/Foo.h" : "headers/foo/Foo.h" + } +} |
