derekbailey
8a37f22f47
Remove generated .h files from repo
2025-12-22 05:42:15 +00:00
Derek Bailey
0e047869da
Use the Google Style for clang-format without exceptions ( #8706 )
...
This reduces the friction when merging from github and google repos by
using the exact same clang style guide.
MARKDOWN=true
2025-09-23 21:19:33 -07:00
nolen777
8db59321d9
Add a unit test for odd-sized small structs (for #8117 ) ( #8363 )
...
* add an odd sized test
* formatting
---------
Co-authored-by: Derek Bailey <derekbailey@google.com >
2024-08-20 00:27:32 -04:00
Pavlo Bashmakov
15f16f149e
Fix misalignment of small structs in a Vector (C++) ( #7883 )
...
* Rare fix: kick fix test
* Rare fix: real fix
* Rare fix: separate test
* Rare fix: remove comments
* Rare fix: updates
* Rare fix: less
* Rare fix: size_t switch to uoffset_t
* Rare fix: swap exp/val
* Rare fix: add annotated before/after
* Rare fix: remove unnecessary changes
---------
Co-authored-by: Derek Bailey <derekbailey@google.com >
2023-09-28 22:53:50 -07:00
Derek Bailey
28861d1d7d
various fixes ( #7986 )
2023-05-31 11:52:05 -07:00
Derek Bailey
86486a1735
run scripts/clang-format-all.sh
2023-05-11 12:23:49 -07:00
Denis Blank
72aa85a759
[C++] Rare bad buffer content alignment if sizeof(T) != alignof(T) ( #7520 )
...
* [C++] Add a failing unit test for #7516 (Rare bad buffer content alignment if sizeof(T) != alignof(T))
* [C++] Fix final buffer alignment when using an array of structs
* A struct can have an arbitrary size and therefore sizeof(struct) == alignof(struct)
does not hold anymore as for value primitives.
* This patch fixes this by introducing alignment parameters to various
CreateVector*/StartVector calls.
* Closes #7516
2022-09-21 11:05:05 -07:00