Hash :
25390156
Author :
Date :
2025-08-21T00:13:19
Suppress unsafe buffers on a file-by-file basis in src/ [1 of N] In this CL, we suppress many files but stop short of actually enabling the warning by not removing the line from the unsafe_buffers_paths.txt file. That will happen in a follow-on CL, along with resolving any stragglers missed here. This is mostly a manual change so as to familiarize myself with the kinds of issues faced by the Angle codebase when applying buffer safety warnings. -- Re-generate affected hashes. -- Clang-format applied to all changed files. -- Add a few missing .reserve() calls to vectors as noticed. -- Fix some mismatches between file names and header comments. -- Be more consistent with header comment format (blank lines and trailing //-only lines when a filename comment adjoins license boilerplate). Bug: b/436880895 Change-Id: I3bde5cc2059acbe8345057289214f1a26f1c34aa Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6869022 Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
{
"src/compiler/translator/ImmutableString_autogen.cpp":
"dbf1cd4a10a957e271edf025e140e91c",
"src/compiler/translator/Operator_autogen.h":
"5bf164c0e357df73ab727dd14346f05e",
"src/compiler/translator/SymbolTable_autogen.cpp":
"2bf73117a4421d4379b550746a0c2aa3",
"src/compiler/translator/SymbolTable_autogen.h":
"b2e514444f403535c72b47d23e851591",
"src/compiler/translator/builtin_function_declarations.txt":
"df755020e057b626d8a8412bb481bea8",
"src/compiler/translator/builtin_variables.json":
"29a0e307c28e8c932f0cd8b1d4b82245",
"src/compiler/translator/gen_builtin_symbols.py":
"868aec3ab57d9d487b66afc7ac454ba7",
"src/compiler/translator/tree_util/BuiltIn_autogen.h":
"16e8f464d36094088afd7e2d713db437",
"src/tests/compiler_tests/ImmutableString_test_autogen.cpp":
"bdbf466393c8a02f531797770a834a1a"
}