mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-10 15:16:28 +00:00
rename __suppress_ubsan to FLATBUFFERS_SUPPRESS_UBSAN
This commit is contained in:
@@ -177,7 +177,7 @@ class Verifier FLATBUFFERS_FINAL_CLASS {
|
||||
return true;
|
||||
}
|
||||
|
||||
__suppress_ubsan__("unsigned-integer-overflow") bool VerifyTableStart(
|
||||
FLATBUFFERS_SUPPRESS_UBSAN("unsigned-integer-overflow") bool VerifyTableStart(
|
||||
const uint8_t *const table) {
|
||||
// Check the vtable offset.
|
||||
const auto tableo = static_cast<size_t>(table - buf_);
|
||||
|
||||
Reference in New Issue
Block a user