On Tue, Sep 13, 2022 at 02:03:17PM -0700, Julian Brown wrote: > This patch trivially adds braces and reindents the > OMP_CLAUSE_TO/OMP_CLAUSE_FROM/OMP_CLAUSE__CACHE_ stanza in > c_finish_omp_clause and finish_omp_clause, in preparation for the > following patch (to clarify the diff a little). > > 2022-09-13 Julian Brown <jul...@codesourcery.com> > > gcc/c/ > * c-typeck.cc (c_finish_omp_clauses): Add braces and reindent > OMP_CLAUSE_TO/OMP_CLAUSE_FROM/OMP_CLAUSE__CACHE_ stanza. > > gcc/cp/ > * semantics.cc (finish_omp_clause): Add braces and reindent > OMP_CLAUSE_TO/OMP_CLAUSE_FROM/OMP_CLAUSE__CACHE_ stanza.
Not very happy about this because it ruins git blame, some vars can be declared separately from initializing them and be thus usable in switches. But I see you use there classes with ctors... So ok. Jakub