blob: 175a8b65d7fd4a3d7939b3e8d82cfb2b5acbcef2 [file] [log] [blame]
// Regression test to check that clang-format does not leave behind temporary
// files on Windows when doing in-place formatting.
// RUN: rm -rf %t.dir
// RUN: mkdir %t.dir
// RUN: cp %s %t.dir/inplace.cpp
// RUN: clang-format -style=LLVM -i %t.dir/inplace.cpp
// RUN: ls %t.dir > %t.dir/files.txt
// RUN: FileCheck -strict-whitespace -input-file=%t.dir/files.txt %s
// CHECK-NOT: RF{{.*}}.TMP
// The file needs to be larger than 16kiB so that Windows creates a real file
// mapping object for it.
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;
int this_is_my_int_there_are_many_like_it_but_this_one_is_mine;