Even Rouault
8433eb108c
Typo fixes in comments of flatbuffers.h and flexbuffers.h ( #6901 )
2021-10-28 13:03:03 -07:00
Even Rouault
ff1c78233d
include/flatbuffers: typo fixes in comments ( #5884 )
2020-05-04 10:21:57 -07:00
Even Rouault
44b2ab087c
include/flatbuffers/base.h: fix no_sanitize issue with old clang ( #5610 )
...
Older clang versions raise:
```
./flatbuffers/base.h:365:1: error: unknown attribute 'no_sanitize' ignored [-Werror,-Wattributes]
__supress_ubsan__("alignment")
^
./flatbuffers/base.h:246:50: note: expanded from macro '__supress_ubsan__'
#define __supress_ubsan__(type) __attribute__((no_sanitize(type)))
^
```
Comparing https://releases.llvm.org/3.6.0/tools/clang/docs/AttributeReference.html
with https://releases.llvm.org/3.7.0/tools/clang/docs/AttributeReference.html
shows that __attribute__((no_sanitize(type))) is available since 3.7.0
2019-11-04 14:58:51 -08:00
Even Rouault
7b38aa71e6
flatbuffers.h: fix documentation warning ( #5607 )
...
Fixes following clang -Wdocumentation warning:
```
flatbuffers.h:1762:17: error: parameter ']' not found in the function declaration [-Werror,-Wdocumentation]
/// @param[in]] v A const reference to the `std::vector` of structs to
```
2019-11-04 14:28:33 -08:00
Even Rouault
1b85292fd3
Fix typos in comments ( #5590 )
...
Found by the https://github.com/OSGeo/gdal/blob/master/gdal/scripts/fix_typos.sh
script on the internal copy of flatbuffers inside GDAL
2019-10-28 10:02:46 -07:00