Skip to content

Commit 4588721

Browse files
authored
Merge pull request #5487 from Rageking8/remove-extraneous-spaces-after-hyphen-character
Remove extraneous spaces after hyphen character
2 parents 7511547 + 127ca8d commit 4588721

File tree

5 files changed

+17
-19
lines changed

5 files changed

+17
-19
lines changed

docs/build/arm-exception-handling.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
2-
description: "Learn more about: ARM Exception Handling"
32
title: "ARM Exception Handling"
3+
description: "Learn more about: ARM Exception Handling"
44
ms.date: 12/15/2021
5-
ms.assetid: fe0e615f-c033-4ad5-97f4-ff96af45b201
65
ms.topic: concept-article
76
---
87
# ARM Exception Handling
@@ -167,7 +166,7 @@ When the packed unwind format is insufficient to describe the unwinding of a fun
167166
|0|20|*X* is a 1-bit field that indicates the presence (1) or absence (0) of exception data.|
168167
|0|21|*`E`* is a 1-bit field that indicates that information that describes a single epilogue is packed into the header (1) rather than requiring additional scope words later (0).|
169168
|0|22|*F* is a 1-bit field that indicates that this record describes a function fragment (1) or a full function (0). A fragment implies that there's no prologue and that all prologue processing should be ignored.|
170-
|0|23-27|*Epilogue Count* is a 5-bit field that has two meanings, depending on the state of the *`E`* bit:<br /><br /> - If *`E`* is 0, this field is a count of the total number of epilogue scopes described in section 2. If more than 31 scopes exist in the function, then this field and the *Code Words* field must both be set to 0 to indicate that an extension word is required.<br />- If *`E`* is 1, this field specifies the index of the first unwind code that describes the only epilogue.|
169+
|0|23-27|*Epilogue Count* is a 5-bit field that has two meanings, depending on the state of the *`E`* bit:<br /><br />- If *`E`* is 0, this field is a count of the total number of epilogue scopes described in section 2. If more than 31 scopes exist in the function, then this field and the *Code Words* field must both be set to 0 to indicate that an extension word is required.<br />- If *`E`* is 1, this field specifies the index of the first unwind code that describes the only epilogue.|
171170
|0|28-31|*Code Words* is a 4-bit field that specifies the number of 32-bit words required to contain all of the unwind codes in section 4. If more than 15 words are required for more than 63 unwind code bytes, this field and the *Epilogue Count* field must both be set to 0 to indicate that an extension word is required.|
172171
|1|0-15|*Extended Epilogue Count* is a 16-bit field that provides more space for encoding an unusually large number of epilogues. The extension word that contains this field is only present if the *Epilogue Count* and *Code Words* fields in the first header word are both set to 0.|
173172
|1|16-23|*Extended Code Words* is an 8-bit field that provides more space for encoding an unusually large number of unwind code words. The extension word that contains this field is only present if the *Epilogue Count* and *Code Words* fields in the first header word are both set to 0.|

docs/error-messages/compiler-errors-2/compiler-error-c2548.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
description: "Learn more about: Compiler Error C2548"
32
title: "Compiler error C2548"
4-
ms.date: "03/01/2024"
3+
description: "Learn more about: Compiler Error C2548"
4+
ms.date: 03/01/2024
55
f1_keywords: ["C2548"]
66
helpviewer_keywords: ["C2548"]
77
---
@@ -21,8 +21,8 @@ The following sample generates C2548 for:
2121
The following sample doesn't generate C2548 for:
2222

2323
- `func2` because all the required default arguments are supplied.
24-
- The second `func4` declaration because the default argument `c` is supplied in the preceding declaration and is in the same scope.
25-
- The third `func4` declaration because both default arguments `b` and `c` are provided previously.
24+
- The second `func4` declaration because the default argument `c` is supplied in the preceding declaration and is in the same scope.
25+
- The third `func4` declaration because both default arguments `b` and `c` are provided previously.
2626

2727
```cpp
2828
// C2548.cpp

docs/sanitizers/asan-shadow-bytes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ helpviewer_keywords: ["Shadow bytes", "AddressSanitizer shadow bytes","Address S
77

88
# AddressSanitizer shadow bytes
99

10-
We briefly summarize the concept of shadow bytes and how they can be used by the runtime implementation of [`/fsanitize=address`](../build/reference/fsanitize.md). For further details, we refer you to the initial research [AddressSanitizer - Serebryany, et al](https://www.usenix.org/system/files/conference/atc12/atc12-final39.pdf) and the [current AddressSanitizer algorithm documentation](https://github.com/google/sanitizers/wiki/AddressSanitizerAlgorithm).
10+
We briefly summarize the concept of shadow bytes and how they can be used by the runtime implementation of [`/fsanitize=address`](../build/reference/fsanitize.md). For further details, we refer you to the initial research [AddressSanitizer - Serebryany, et al](https://www.usenix.org/system/files/conference/atc12/atc12-final39.pdf) and the [current AddressSanitizer algorithm documentation](https://github.com/google/sanitizers/wiki/AddressSanitizerAlgorithm).
1111

1212
## Core concept
1313

docs/standard-library/string-functions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ The **`double`** value.
149149
150150
### Remarks
151151
152-
The function converts the sequence of elements in *`str`* to a value of type **`double`** as if by calling `strtod( str.c_str(), _Eptr)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *`idx`* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
152+
The function converts the sequence of elements in *`str`* to a value of type **`double`** as if by calling `strtod( str.c_str(), _Eptr)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *`idx`* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
153153
154154
## <a name="stof"></a> `stof`
155155
@@ -179,7 +179,7 @@ The **`float`** value.
179179

180180
### Remarks
181181

182-
The function converts the sequence of elements in *`str`* to a value of type **`float`** as if by calling `strtof( str.c_str(), _Eptr)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *`idx`* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
182+
The function converts the sequence of elements in *`str`* to a value of type **`float`** as if by calling `strtof( str.c_str(), _Eptr)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *`idx`* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
183183

184184
## <a name="stoi"></a> `stoi`
185185

@@ -253,7 +253,7 @@ The long-integer value.
253253

254254
### Remarks
255255

256-
The function converts the sequence of elements in *str* to a value of type **`long`** as if by calling `strtol( str.c_str(), _Eptr, idx)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *`idx`* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
256+
The function converts the sequence of elements in *str* to a value of type **`long`** as if by calling `strtol( str.c_str(), _Eptr, idx)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *`idx`* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
257257

258258
## <a name="stold"></a> `stold`
259259

@@ -283,7 +283,7 @@ The **`long double`** value.
283283
284284
### Remarks
285285
286-
The function converts the sequence of elements in *str* to a value of type **`long double`** as if by calling `strtold( str.c_str(), _Eptr)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *`idx`* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
286+
The function converts the sequence of elements in *str* to a value of type **`long double`** as if by calling `strtold( str.c_str(), _Eptr)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *`idx`* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
287287
288288
## <a name="stoll"></a> `stoll`
289289
@@ -318,7 +318,7 @@ The **`long long`** value.
318318

319319
### Remarks
320320

321-
The function converts the sequence of elements in *str* to a value of type **`long long`** as if by calling `strtoll( str.c_str(), _Eptr, idx)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *idx* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
321+
The function converts the sequence of elements in *str* to a value of type **`long long`** as if by calling `strtoll( str.c_str(), _Eptr, idx)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *idx* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
322322

323323
## <a name="stoul"></a> `stoul`
324324

@@ -353,7 +353,7 @@ The unsigned long-integer value.
353353
354354
### Remarks
355355
356-
The function converts the sequence of elements in *str* to a value of type **`unsigned long`** as if by calling `strtoul( str.c_str(), _Eptr, idx)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *idx* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
356+
The function converts the sequence of elements in *str* to a value of type **`unsigned long`** as if by calling `strtoul( str.c_str(), _Eptr, idx)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *idx* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
357357
358358
## <a name="stoull"></a> `stoull`
359359
@@ -388,7 +388,7 @@ The **`unsigned long long`** value.
388388

389389
### Remarks
390390

391-
The function converts the sequence of elements in *str* to a value of type **`unsigned long long`** as if by calling `strtoull( str.c_str(), _Eptr, idx)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *`idx`* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
391+
The function converts the sequence of elements in *str* to a value of type **`unsigned long long`** as if by calling `strtoull( str.c_str(), _Eptr, idx)`, where `_Eptr` is an object internal to the function. If `str.c_str() == *_Eptr`, it throws an object of type `invalid_argument`. If such a call would set `errno`, it throws an object of type `out_of_range`. Otherwise, if *`idx`* isn't a null pointer, the function stores `*_Eptr - str.c_str()` in `*idx` and returns the value.
392392

393393
## <a name="swap"></a> `swap`
394394

docs/standard-library/valarray-class.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: valarray Class"
32
title: "valarray class"
3+
description: "Learn more about: valarray Class"
44
ms.date: 06/20/2022
55
f1_keywords: ["valarray/std::valarray", "valarray/std::valarray::value_type", "valarray/std::valarray::apply", "valarray/std::valarray::cshift", "valarray/std::valarray::free", "valarray/std::valarray::max", "valarray/std::valarray::min", "valarray/std::valarray::resize", "valarray/std::valarray::shift", "valarray/std::valarray::size", "valarray/std::valarray::sum", "valarray/std::valarray::swap"]
66
helpviewer_keywords: ["std::valarray [C++]", "std::valarray [C++], value_type", "std::valarray [C++], apply", "std::valarray [C++], cshift", "std::valarray [C++], free", "std::valarray [C++], max", "std::valarray [C++], min", "std::valarray [C++], resize", "std::valarray [C++], shift", "std::valarray [C++], size", "std::valarray [C++], sum", "std::valarray [C++], swap"]
7-
ms.assetid: 19b862f9-5d09-4003-8844-6ddd02c1a3a7
87
ms.custom: devdivchpfy22
98
---
109

@@ -1143,7 +1142,7 @@ int main( )
11431142
for ( i = 0 ; i < 10 ; i += 1 )
11441143
va [ i ] = i;
11451144
for ( i = 0 ; i < 10 ; i+=1 )
1146-
vaR [ i ] = 10 - i;
1145+
vaR [ i ] = 10 - i;
11471146

11481147
cout << "The operand valarray va is:";
11491148
for ( i = 0 ; i < 10 ; i++ )
@@ -1609,7 +1608,7 @@ int main( )
16091608
for ( i = 0 ; i < 10 ; i += 1 )
16101609
va1 [ i ] = i;
16111610
for ( i = 0 ; i < 10 ; i += 1 )
1612-
va2 [ i ] = 10 - i;
1611+
va2 [ i ] = 10 - i;
16131612
16141613
cout << "The operand valarray va1(10) is: ( ";
16151614
for ( i = 0 ; i < 10 ; i++ )

0 commit comments

Comments
 (0)