view clang/test/Format/inplace.cpp @ 165:597b3f1c2c93

fix call createTailCallEliminationPass
author anatofuz
date Tue, 24 Mar 2020 15:30:52 +0900
parents 1d019706d866
children
line wrap: on
line source

// 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;