Format gn src with run_formatter.sh A previous commit (8dc9a796) used git cl format, but the correct formatter is tools/run_formatter.sh. This CL contains no functional changes. Bug: None Change-Id: I7ace5bac2115f05d11a259902743b023b6b6137b Reviewed-on: https://gn-review.googlesource.com/c/gn/+/22620 Reviewed-by: Andrew Grieve <agrieve@google.com> Reviewed-by: Takuto Ikuta <tikuta@google.com> Commit-Queue: Will Harris <wfh@chromium.org>
diff --git a/src/gn/command_format.cc b/src/gn/command_format.cc index f1ce0df..f7649cd 100644 --- a/src/gn/command_format.cc +++ b/src/gn/command_format.cc
@@ -376,10 +376,10 @@ // A single word (e.g. a long file path) should not be joined with other // lines, as it often represents a vertical list of items. - bool is_single_word = - !text_only.empty() && text_only.find(' ') == std::string::npos && - (text_only.find('/') != std::string::npos || - text_only.find(':') != std::string::npos); + bool is_single_word = !text_only.empty() && + text_only.find(' ') == std::string::npos && + (text_only.find('/') != std::string::npos || + text_only.find(':') != std::string::npos); // Attention markers start a new paragraph to ensure they remain visible. bool is_attention_marker =