Run formatter CIPD had an outage today, which broke the formatter, so some changes were not formatted before uploading. Change-Id: I1f4fe985c8e921446e5c4486505c4d5d6a6a6964 Reviewed-on: https://gn-review.googlesource.com/c/gn/+/21804 Reviewed-by: Takuto Ikuta <tikuta@google.com> Commit-Queue: Matt Stark <msta@google.com>
diff --git a/src/gn/ninja_module_writer_util.cc b/src/gn/ninja_module_writer_util.cc index 3fc6a2e..eab5554 100644 --- a/src/gn/ninja_module_writer_util.cc +++ b/src/gn/ninja_module_writer_util.cc
@@ -80,7 +80,8 @@ } void ClangModuleDep::Write(std::ostream& out, - const PathOutput& path_output, bool include_self) const { + const PathOutput& path_output, + bool include_self) const { if (modulemap) { out << " -fmodule-map-file="; path_output.WriteFile(out, *modulemap);
diff --git a/src/gn/ninja_module_writer_util.h b/src/gn/ninja_module_writer_util.h index 8239ac8..6eb8be0 100644 --- a/src/gn/ninja_module_writer_util.h +++ b/src/gn/ninja_module_writer_util.h
@@ -25,7 +25,9 @@ std::strong_ordering operator<=>(const ClangModuleDep& other) const; bool operator==(const ClangModuleDep& other) const = default; - void Write(std::ostream& out, const PathOutput& path_output, bool include_self) const; + void Write(std::ostream& out, + const PathOutput& path_output, + bool include_self) const; // The input module.modulemap source file. const SourceFile* modulemap;
diff --git a/src/gn/target.h b/src/gn/target.h index ddaf2b5..ea1c452 100644 --- a/src/gn/target.h +++ b/src/gn/target.h
@@ -85,7 +85,8 @@ Target* AsTarget() override; const Target* AsTarget() const override; - // NOTE: This calls OnResolvedWithoutChecks followed by RunChecksAfterResolution. + // NOTE: This calls OnResolvedWithoutChecks followed by + // RunChecksAfterResolution. bool OnResolved(Err* err) override; // Perform all resolution steps except for checks. When this function @@ -443,9 +444,7 @@ } // The module name for the target. - std::string module_name() const { - return module_name_; - } + std::string module_name() const { return module_name_; } void set_module_name(std::string module_name) { module_name_ = std::move(module_name); }