diff options
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/Inputs/overlapping/o.h')
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/Inputs/overlapping/o.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/Inputs/overlapping/o.h b/clang-tools-extra/test/clang-tidy/Inputs/overlapping/o.h new file mode 100644 index 00000000000..bfa7a0a9b39 --- /dev/null +++ b/clang-tools-extra/test/clang-tidy/Inputs/overlapping/o.h @@ -0,0 +1,9 @@ +// run: clang-tidy -checks=-*,llvm-include-order -header-filter=.* %s \ +// run: -- -isystem %S/Inputs/Headers -I %S/Inputs/overlapping | \ +// run: not grep "note: this fix will not be applied because it overlaps with another fix" + +#include "b.h" +#include "a.h" + +// The comments above are there to match the offset of the #include with the +// offset of the #includes in the .cpp file. |

