Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide the unsafe buffers pragmas if there's no unsafe buffers attribute
Clang doesn't have a way to query if a pragma exists, so assume the pragmas are present if the attribute is present, and not otherwise. This avoids -Werror=unknown-pragmas on older/system clang. [email protected] Bug: 40284755 Change-Id: I3254640c7561e5adaabbe89fdb46619dddf53ece Reviewed-on: https://chromium-review.googlesource.com/c/chromium/mini_chromium/+/5440553 Reviewed-by: Mark Mentovai <[email protected]>
- Loading branch information