diff options
| author | 2025-02-11 11:42:16 +0000 | |
|---|---|---|
| committer | 2025-02-11 11:48:35 +0000 | |
| commit | 4680e1af5d250867644b19e3f1fadd99946ce72f (patch) | |
| tree | a8d5e006aad51060d72ee85aa79170ed96050f77 /tools/warn/java_warn_patterns.py | |
| parent | 54e165615a71afe3bbe0002c1fee8ed2fc0646c0 (diff) | |
Add constexpr specifier to read-only flag
constexpr is availble since C++11 and clang can take advantage
of it for a compile-time optimization.
If C++ version older than C++11 is used, we may need to emit
the constexpr specifier conditionally, e.g. using cpp_std specified
in .bp or wrapping it with a C macro.
Bug: 395633959
Test: atest aconfig.test
Change-Id: I826f07ade87847a8b3e188f300aff6907fcd76dd
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions