New issue
Advanced search Search tips

Issue 803130 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

git cl format removes white space around && operator for template bool default value.

Project Member Reported by hidehiko@chromium.org, Jan 17 2018

Issue description

https://chromium-review.googlesource.com/c/chromium/src/+/855976/1/base/optional.h#112 is an example. We'd like to have white space around && operator on the line.
 

Comment 1 by danakj@chromium.org, Jan 17 2018

go/clang-format has where to file bugs on it.

Comment 2 by danakj@chromium.org, Jan 17 2018

And giving a minimal repro would probably help them out a lot too, fwiw
Labels: clang-format
template <typename T,
          bool = std::is_trivially_copy_constructible<T>::value,
          bool = std::is_trivially_move_constructible<T>::value&&
              std::is_copy_constructible<T>::value>
struct A : B<T> {
  int a = 0;
}

Sign in to add a comment