Skip to content

Commit 9864a96

Browse files
jj-marrvbvictor
andauthored
Update clang-tools-extra/docs/clang-tidy/checks/portability/avoid-platform-specific-fundamental-types.rst
Co-authored-by: Baranov Victor <[email protected]>
1 parent a5d4073 commit 9864a96

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

clang-tools-extra/docs/clang-tidy/checks/portability/avoid-platform-specific-fundamental-types.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,6 @@ Examples
3939
int64_t global_int64 = 100L;
4040
uint64_t global_uint64 = 100UL;
4141

42-
void function_with_int32_param(int32_t param) {
43-
// ...
44-
}
45-
46-
int32_t function_returning_int32() {
47-
return 42;
48-
}
49-
50-
struct MyStruct {
51-
int32_t member_int32;
52-
int64_t member_int64;
53-
};
5442

5543
The check will also warn about typedef declarations that use fundamental types
5644
as their underlying type:

0 commit comments

Comments
 (0)