File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -391,10 +391,12 @@ class PROTOBUF_EXPORT EpsCopyInputStream {
391391
392392 if (!peek_func (absl::string_view (ptr, round_down_size))) return nullptr ;
393393 ptr += round_down_size;
394- #if !defined(__APPLE__)
395- // Working around clang issue on Apple.
394+ // TODO: b/496023113 - Remove hexagon once hexagon-clang handles it
395+ // properly.
396+ #if !defined(__APPLE__) && !defined(__hexagon__)
397+ // Working around clang issue on Apple and Hexagon.
396398 PROTOBUF_ALWAYS_INLINE_CALL
397- #endif // !__APPLE__
399+ #endif // !__APPLE__ && !__hexagon__
398400 sink.Flush (ptr);
399401 size -= round_down_size;
400402
@@ -420,10 +422,12 @@ class PROTOBUF_EXPORT EpsCopyInputStream {
420422
421423 absl::string_view view (ptr, static_cast <size_t >(append_size));
422424 if (!peek_func (view)) return nullptr ;
423- #if !defined(__APPLE__)
424- // Working around clang issue on Apple.
425+ // TODO: b/496023113 - Remove hexagon once hexagon-clang handles it
426+ // properly.
427+ #if !defined(__APPLE__) && !defined(__hexagon__)
428+ // Working around clang issue on Apple and Hexagon.
425429 PROTOBUF_ALWAYS_INLINE_CALL
426- #endif // !__APPLE__
430+ #endif // !__APPLE__ && !__hexagon__
427431 sink.Append (view);
428432
429433 ptr += append_size;
You can’t perform that action at this time.
0 commit comments