Skip to content

Commit ad9e726

Browse files
committed
Cleanup trailing whitespaces in changeset files
1 parent 2d736d9 commit ad9e726

File tree

71 files changed

+2463
-2463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2463
-2463
lines changed

src/coreclr/gc/gc.cpp

Lines changed: 287 additions & 287 deletions
Large diffs are not rendered by default.

src/coreclr/ilasm/prebuilt/asmparse.cpp

Lines changed: 287 additions & 287 deletions
Large diffs are not rendered by default.

src/coreclr/ildasm/dis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ BOOL Disassemble(IMDInternalImport *pImport, BYTE *ILHeader, void *GUICookie, md
16141614
else
16151615
szptr+=sprintf_s(szptr,SZSTRING_REMAINING_SIZE(szptr),
16161616
"%-10s (%2.2X %2.2X %2.2X %2.2X %2.2X %2.2X %2.2X %2.2X)",
1617-
pszInstrName,
1617+
pszInstrName,
16181618
pCode[PC], pCode[PC+1], pCode[PC+2], pCode[PC+3],
16191619
pCode[PC+4], pCode[PC+5], pCode[PC+6], pCode[PC+7]);
16201620
PC += 8;

src/coreclr/interop/comwrappers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ HRESULT ManagedObjectWrapper::Create(
399399
curr.IID = IID_IReferenceTrackerTarget;
400400
curr.Vtable = &ManagedObjectWrapper_IReferenceTrackerTargetImpl;
401401
}
402-
402+
403403
_ASSERTE(runtimeDefinedCount <= (int) MINIPAL_LENGTHOF(runtimeDefinedLocal));
404404

405405
// Compute size for ManagedObjectWrapper instance.

src/coreclr/jit/emitxarch.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12333,8 +12333,8 @@ BYTE* emitter::emitOutputRR(BYTE* dst, instrDesc* id)
1233312333
// Due to elided register moves, we can't have the following assert.
1233412334
// For example, consider:
1233512335
// t85 = LCL_VAR byref V01 arg1 rdx (last use) REG rdx
12336-
// /--* t85 byref
12337-
// * STORE_LCL_VAR byref V40 tmp31 rdx REG rdx
12336+
// /--* t85 byref
12337+
// * STORE_LCL_VAR byref V40 tmp31 rdx REG rdx
1233812338
// Here, V01 is type `long` on entry, then is stored as a byref. But because
1233912339
// the register allocator assigned the same register, no instruction was
1234012340
// generated, and we only (currently) make gcref/byref changes in emitter GC info

src/coreclr/jit/gentree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ enum GenTreeFlags : unsigned int
531531
GTF_RELOP_QMARK = 0x20000000, // GT_<relop> -- the node is the condition for ?:
532532
GTF_RELOP_ZTT = 0x08000000, // GT_<relop> -- Loop test cloned for converting while-loops into do-while
533533
// with explicit "loop test" in the header block.
534-
GTF_RELOP_SJUMP_OPT = 0x04000000, // GT_<relop> -- Swap signed jl/jge with js/jns during emitter, reuses flags
534+
GTF_RELOP_SJUMP_OPT = 0x04000000, // GT_<relop> -- Swap signed jl/jge with js/jns during emitter, reuses flags
535535
// from previous instruction.
536536

537537
GTF_JCMP_EQ = 0x80000000, // GTF_JCMP_EQ -- Branch on equal rather than not equal

src/coreclr/pal/tests/palsuite/c_runtime/sprintf_s/sprintf_s.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inline void DoStrTest_sprintf_s(const char *formatstr, char* param, const char *
2323
Fail("ERROR: failed to insert string \"%s\" into \"%s\"\n"
2424
"Expected \"%s\" got \"%s\".\n",
2525
param, formatstr, checkstr, buf);
26-
}
26+
}
2727
}
2828
#define DoStrTest DoStrTest_sprintf_s
2929

@@ -37,11 +37,11 @@ inline void DoWStrTest_sprintf_s(const char *formatstr, WCHAR* param, const char
3737
Fail("ERROR: failed to insert wide string \"%s\" into \"%s\"\n"
3838
"Expected \"%s\" got \"%s\".\n",
3939
convertC(param), formatstr, checkstr, buf);
40-
}
40+
}
4141
}
4242
#define DoWStrTest DoWStrTest_sprintf_s
4343

44-
inline void DoPointerTest_sprintf_s(const char *formatstr, void* param, char* paramstr,
44+
inline void DoPointerTest_sprintf_s(const char *formatstr, void* param, char* paramstr,
4545
const char *checkstr1)
4646
{
4747
char buf[256] = { 0 };
@@ -60,7 +60,7 @@ inline void DoCountTest_sprintf_s(const char *formatstr, int param, const char *
6060
{
6161
char buf[512] = { 0 };
6262
int n = -1;
63-
63+
6464
sprintf_s(buf, MINIPAL_LENGTHOF(buf), formatstr, &n);
6565

6666
if (n != param)
@@ -146,7 +146,7 @@ inline void DoI64Test_sprintf_s(const char *formatstr, INT64 value, char *values
146146
Fail("ERROR: failed to insert %s into \"%s\"\n"
147147
"Expected \"%s\", got \"%s\".\n",
148148
valuestr, formatstr, checkstr1, buf);
149-
}
149+
}
150150
}
151151
#define DoI64Test DoI64Test_sprintf_s
152152

@@ -160,7 +160,7 @@ inline void DoDoubleTest_sprintf_s(const char *formatstr, double value, const ch
160160
memcmp(buf, checkstr2, strlen(checkstr2) + 1) != 0)
161161
{
162162
Fail("ERROR: failed to insert %f into \"%s\"\n"
163-
"Expected \"%s\" or \"%s\", got \"%s\".\n",
163+
"Expected \"%s\" or \"%s\", got \"%s\".\n",
164164
value, formatstr, checkstr1, checkstr2, buf);
165165
}
166166
}

src/coreclr/pal/tests/palsuite/c_runtime/sprintf_s/test1/test1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <palsuite.h>
1717
#include "../sprintf_s.h"
1818

19-
/*
19+
/*
2020
* Depends on memcmp and strlen
2121
*/
2222

src/coreclr/pal/tests/palsuite/c_runtime/sscanf_s/sscanf_s.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ inline void DoStrTest_scanf_s(char *inputstr, const char *formatstr, const char
5353
if (memcmp(checkstr, buf, strlen(checkstr) + 1) != 0)
5454
{
5555
Fail("ERROR: scanned string incorrectly from \"%s\" using \"%s\".\n"
56-
"Expected \"%s\", got \"%s\".\n", inputstr, formatstr, checkstr,
56+
"Expected \"%s\", got \"%s\".\n", inputstr, formatstr, checkstr,
5757
buf);
5858
}
5959

@@ -75,7 +75,7 @@ inline void DoWStrTest_scanf_s(char *inputstr, const char *formatstr, const WCHA
7575
if (memcmp(checkstr, buf, wcslen(checkstr)*2 + 2) != 0)
7676
{
7777
Fail("ERROR: scanned wide string incorrectly from \"%s\" using \"%s\".\n"
78-
"Expected \"%s\", got \"%s\".\n", inputstr, formatstr,
78+
"Expected \"%s\", got \"%s\".\n", inputstr, formatstr,
7979
convertC(checkstr), convertC(buf));
8080
}
8181

@@ -167,14 +167,14 @@ inline void DoCharTest_scanf_s(char *inputstr, const char *formatstr, char* chec
167167
buf[numchars] = 0;
168168

169169
Fail("ERROR: scanned character(s) incorrectly from \"%s\" using \"%s\".\n"
170-
"Expected %s, got %s.\n", inputstr, formatstr, checkchars,
170+
"Expected %s, got %s.\n", inputstr, formatstr, checkchars,
171171
buf);
172172
}
173173

174174
if (buf[numchars] != (char)-1)
175175
{
176176
Fail("ERROR: overflow occurred in scanning character(s) from \"%s\" "
177-
"using \"%s\".\nExpected %d character(s)\n", inputstr, formatstr,
177+
"using \"%s\".\nExpected %d character(s)\n", inputstr, formatstr,
178178
numchars);
179179
}
180180
}
@@ -201,14 +201,14 @@ inline void DoWCharTest_scanf_s(char *inputstr, const char *formatstr, WCHAR* ch
201201
buf[numchars] = 0;
202202

203203
Fail("ERROR: scanned wide character(s) incorrectly from \"%s\" using \"%s\".\n"
204-
"Expected %s, got %s.\n", inputstr, formatstr, convertC(checkchars),
204+
"Expected %s, got %s.\n", inputstr, formatstr, convertC(checkchars),
205205
convertC(buf));
206206
}
207207

208208
if (buf[numchars] != (WCHAR)-1)
209209
{
210210
Fail("ERROR: overflow occurred in scanning wide character(s) from \"%s\" "
211-
"using \"%s\".\nExpected %d character(s)\n", inputstr, formatstr,
211+
"using \"%s\".\nExpected %d character(s)\n", inputstr, formatstr,
212212
numchars);
213213
}
214214
}
@@ -236,7 +236,7 @@ inline void DoFloatTest_scanf_s(char *inputstr, const char *formatstr, float che
236236
if (val != checkval)
237237
{
238238
Fail("ERROR: scanned float incorrectly from \"%s\" using \"%s\".\n"
239-
"Expected \"%f\", got \"%f\".\n", inputstr, formatstr, checkval,
239+
"Expected \"%f\", got \"%f\".\n", inputstr, formatstr, checkval,
240240
val);
241241
}
242242

src/coreclr/pal/tests/palsuite/c_runtime/swprintf/swprintf.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ inline void DoWStrTest_swprintf_s(const WCHAR *formatstr, WCHAR *param, const WC
2222
if (memcmp(buf, checkstr, wcslen(checkstr) * 2 + 2) != 0)
2323
{
2424
Fail("ERROR: failed to insert wide string \"%s\" into \"%s\".\n"
25-
"Expected \"%s\", got \"%s\".\n",
26-
convertC(param), convertC(formatstr),
25+
"Expected \"%s\", got \"%s\".\n",
26+
convertC(param), convertC(formatstr),
2727
convertC(checkstr), convertC(buf));
2828
}
2929
}
@@ -38,8 +38,8 @@ inline void DoStrTest_swprintf_s(const WCHAR *formatstr, char *param, const WCHA
3838
if (memcmp(buf, checkstr, wcslen(checkstr) * 2 + 2) != 0)
3939
{
4040
Fail("ERROR: failed to insert wide string \"%s\" into \"%s\".\n"
41-
"Expected \"%s\", got \"%s\".\n",
42-
param, convertC(formatstr), convertC(checkstr),
41+
"Expected \"%s\", got \"%s\".\n",
42+
param, convertC(formatstr), convertC(checkstr),
4343
convertC(buf));
4444
}
4545
}
@@ -55,7 +55,7 @@ inline void DoPointerTest_swprintf_s(const WCHAR *formatstr, void* param, const
5555
Fail("ERROR: failed to insert pointer to %#p into \"%s\"\n"
5656
"Expected \"%s\", got \"%s\".\n", param,
5757
convertC(formatstr), convertC(checkstr1), convertC(buf));
58-
}
58+
}
5959
}
6060
#define DoPointerTest DoPointerTest_swprintf_s
6161

src/coreclr/pal/tests/palsuite/c_runtime/swscanf/swscanf.h

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inline void DoVoidTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr)
2323
if (ret != 0)
2424
{
2525
Fail("ERROR: Expected sscanf to return 0, got %d.\n"
26-
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
26+
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
2727
convertC(formatstr));
2828
}
2929

@@ -32,7 +32,7 @@ inline void DoVoidTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr)
3232
if (buf[i] != 0)
3333
{
3434
Fail("ERROR: Parameter unexpectedly modified scanning \"%s\" "
35-
"using \"%s\".\n", convertC(inputstr),
35+
"using \"%s\".\n", convertC(inputstr),
3636
convertC(formatstr));
3737
}
3838
}
@@ -49,15 +49,15 @@ inline void DoStrTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, const cha
4949
if (ret != 1)
5050
{
5151
Fail("ERROR: Expected swscanf to return 1, got %d.\n"
52-
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
52+
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
5353
convertC(formatstr));
5454
}
5555

5656
if (memcmp(checkstr, buf, strlen(checkstr) + 1) != 0)
5757
{
5858
Fail("ERROR: scanned string incorrectly from \"%s\" using \"%s\".\n"
59-
"Expected \"%s\", got \"%s\".\n", convertC(inputstr),
60-
convertC(formatstr), checkstr,
59+
"Expected \"%s\", got \"%s\".\n", convertC(inputstr),
60+
convertC(formatstr), checkstr,
6161
buf);
6262
}
6363

@@ -80,8 +80,8 @@ inline void DoWStrTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, const WC
8080
if (memcmp(checkstr, buf, wcslen(checkstr)*2 + 2) != 0)
8181
{
8282
Fail("ERROR: scanned wide string incorrectly from \"%s\" using \"%s\".\n"
83-
"Expected \"%s\", got \"%s\".\n", convertC(inputstr),
84-
convertC(formatstr), convertC(checkstr),
83+
"Expected \"%s\", got \"%s\".\n", convertC(inputstr),
84+
convertC(formatstr), convertC(checkstr),
8585
convertC(buf));
8686
}
8787

@@ -97,14 +97,14 @@ inline void DoNumTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, int check
9797
if (ret != 1)
9898
{
9999
Fail("ERROR: Expected swscanf to return 1, got %d.\n"
100-
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
100+
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
101101
convertC(formatstr));
102102
}
103103

104104
if (checknum != num)
105105
{
106106
Fail("ERROR: scanned number incorrectly from \"%s\" using \"%s\".\n"
107-
"Expected %d, got %d.\n", convertC(inputstr),
107+
"Expected %d, got %d.\n", convertC(inputstr),
108108
convertC(formatstr), checknum, num);
109109
}
110110
}
@@ -119,14 +119,14 @@ inline void DoShortNumTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, shor
119119
if (ret != 1)
120120
{
121121
Fail("ERROR: Expected swscanf to return 1, got %d.\n"
122-
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
122+
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
123123
convertC(formatstr));
124124
}
125125

126126
if (checknum != num)
127127
{
128128
Fail("ERROR: scanned number incorrectly from \"%s\" using \"%s\".\n"
129-
"Expected %hd, got %hd.\n", convertC(inputstr),
129+
"Expected %hd, got %hd.\n", convertC(inputstr),
130130
convertC(formatstr), checknum, num);
131131
}
132132
}
@@ -143,7 +143,7 @@ inline void DoI64NumTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, INT64
143143
if (ret != 1)
144144
{
145145
Fail("ERROR: Expected swscanf to return 1, got %d.\n"
146-
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
146+
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
147147
convertC(formatstr));
148148
}
149149

@@ -152,7 +152,7 @@ inline void DoI64NumTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, INT64
152152
sprintf_s(buf, MINIPAL_LENGTHOF(buf), "%I64d", num);
153153
sprintf_s(check, MINIPAL_LENGTHOF(check), "%I64d", checknum);
154154
Fail("ERROR: scanned I64 number incorrectly from \"%s\" using \"%s\".\n"
155-
"Expected %s, got %s.\n", convertC(inputstr),
155+
"Expected %s, got %s.\n", convertC(inputstr),
156156
convertC(formatstr), check, buf);
157157
}
158158
}
@@ -171,7 +171,7 @@ inline void DoCharTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, char* ch
171171
if (ret != 1)
172172
{
173173
Fail("ERROR: Expected swscanf to return 1, got %d.\n"
174-
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
174+
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
175175
convertC(formatstr));
176176
}
177177

@@ -180,14 +180,14 @@ inline void DoCharTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, char* ch
180180
buf[numchars] = 0;
181181

182182
Fail("ERROR: scanned character(s) incorrectly from \"%s\" using \"%s\".\n"
183-
"Expected %s, got %s.\n", convertC(inputstr),
183+
"Expected %s, got %s.\n", convertC(inputstr),
184184
convertC(formatstr), checkchars, buf);
185185
}
186186

187187
if (buf[numchars] != (char)-1)
188188
{
189189
Fail("ERROR: overflow occurred in scanning character(s) from \"%s\" "
190-
"using \"%s\".\nExpected %d character(s)\n",
190+
"using \"%s\".\nExpected %d character(s)\n",
191191
convertC(inputstr), convertC(formatstr), numchars);
192192
}
193193
}
@@ -206,7 +206,7 @@ inline void DoWCharTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, const W
206206
if (ret != 1)
207207
{
208208
Fail("ERROR: Expected swscanf to return 1, got %d.\n"
209-
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
209+
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
210210
convertC(formatstr));
211211
}
212212

@@ -215,15 +215,15 @@ inline void DoWCharTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, const W
215215
buf[numchars] = 0;
216216

217217
Fail("ERROR: scanned wide character(s) incorrectly from \"%s\" using \"%s\".\n"
218-
"Expected %s, got %s.\n", convertC(inputstr),
219-
convertC(formatstr), convertC(checkchars),
218+
"Expected %s, got %s.\n", convertC(inputstr),
219+
convertC(formatstr), convertC(checkchars),
220220
convertC(buf));
221221
}
222222

223223
if (buf[numchars] != (WCHAR)-1)
224224
{
225225
Fail("ERROR: overflow occurred in scanning wide character(s) from \"%s\" "
226-
"using \"%s\".\nExpected %d character(s)\n",
226+
"using \"%s\".\nExpected %d character(s)\n",
227227
convertC(inputstr), convertC(formatstr), numchars);
228228
}
229229
}
@@ -245,14 +245,14 @@ inline void DoFloatTest_swscanf(WCHAR *inputstr, const WCHAR *formatstr, float c
245245
if (ret != 1)
246246
{
247247
Fail("ERROR: Expected swscanf to return 1, got %d.\n"
248-
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
248+
"Using \"%s\" in \"%s\".\n", ret, convertC(inputstr),
249249
convertC(formatstr));
250250
}
251251

252252
if (val != checkval)
253253
{
254254
Fail("ERROR: scanned float incorrectly from \"%s\" using \"%s\".\n"
255-
"Expected \"%f\", got \"%f\".\n", convertC(inputstr),
255+
"Expected \"%f\", got \"%f\".\n", convertC(inputstr),
256256
convertC(formatstr), checkval, val);
257257
}
258258

src/coreclr/pal/tests/palsuite/c_runtime/vsprintf/test1/test1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ PALTEST(c_runtime_vsprintf_test1_paltest_vsprintf_test1, "c_runtime/vsprintf/tes
2222
char checkstr[] = "hello world";
2323
char buf[256] = { 0 };
2424
int ret;
25-
25+
2626
if (PAL_Initialize(argc, argv) != 0)
2727
{
2828
return(FAIL);

src/coreclr/pal/tests/palsuite/c_runtime/vswprintf/test1/test1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ PALTEST(c_runtime_vswprintf_test1_paltest_vswprintf_test1, "c_runtime/vswprintf/
2929

3030
if (memcmp(checkstr, buf, wcslen(checkstr)*2+2) != 0)
3131
{
32-
Fail("ERROR: Expected \"%s\", got \"%s\"\n",
32+
Fail("ERROR: Expected \"%s\", got \"%s\"\n",
3333
convertC(checkstr), convertC(buf));
3434
}
3535

0 commit comments

Comments
 (0)