summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
author Ryan Prichard <rprichard@google.com> 2024-04-12 00:48:57 -0700
committer Ryan Prichard <rprichard@google.com> 2024-04-12 20:50:35 +0000
commit876dc7650f6c705e78641329b0974629b34af014 (patch)
tree2ca4a85a783f6f55d57f69e1d9dfb2274ef09d2b /compiler/optimizing/code_generator.h
parent3f29f3783b1c7efeda047119ee6fdad5bcc06238 (diff)
Improve std::memory_order enum usage
The std::memory_order::memory_order_{ENUM} syntax is dropped in C++20. This code could use std::memory_order::{ENUM} if it depended on C++20, but instead use std::memory_order_{ENUM}, which compiles with both C++17 and C++20. (Regardless of the syntax used, the enumerator has type std::memory_order.) Bug: 311052584 Test: treehugger Change-Id: I328091d34f7b5bfeaa960611f69a481c23cc32a0
Diffstat (limited to 'compiler/optimizing/code_generator.h')
0 files changed, 0 insertions, 0 deletions