C++: Force LF for .c,.cpp,.h,.hpp

This commit is contained in:
Dave Bartolomeo
2018-09-20 11:38:56 -07:00
parent caf4a767ad
commit aa267c8302
200 changed files with 5422 additions and 5417 deletions

View File

@@ -1,36 +1,36 @@
void update(bool b);
void init(int &i);
bool cond(int i);
void update(int &i);
void test_while()
{
bool b;
b = true;
while (b) update(b);
do
{
update(b);
} while (b);
}
void test_for()
{
int i, j;
for (i = 0; i < 10; i++) {
}
for (j = 10; j >= 0; ) j--;
for (i = 0, j = 0; i < 10; i++, j++) {
}
for (init(i); cond(i); update(i)) {
}
for ((i = 100); (i >= 0); (i--)) {
}
}
void update(bool b);
void init(int &i);
bool cond(int i);
void update(int &i);
void test_while()
{
bool b;
b = true;
while (b) update(b);
do
{
update(b);
} while (b);
}
void test_for()
{
int i, j;
for (i = 0; i < 10; i++) {
}
for (j = 10; j >= 0; ) j--;
for (i = 0, j = 0; i < 10; i++, j++) {
}
for (init(i); cond(i); update(i)) {
}
for ((i = 100); (i >= 0); (i--)) {
}
}