[clang] [ExtractAPI] reorder the module names in extension symbol graph file names (PR #119925)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 13 13:02:41 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 91f5f974cb75309a94c9efc76238ef98abcf1582 506ac691d11e5658932f0f9388059f13407011cd --extensions cpp -- clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp b/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
index 2c70e77b62..e881d56258 100644
--- a/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
+++ b/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
@@ -1068,8 +1068,7 @@ void SymbolGraphSerializer::serializeWithExtensionGraphs(
for (auto &ExtensionSGF : Serializer.ExtendedModules) {
if (auto ExtensionOS =
CreateOutputStream(API.ProductName + "@" + ExtensionSGF.getKey()))
- Serializer.serializeGraphToStream(*ExtensionOS, Options,
- API.ProductName,
+ Serializer.serializeGraphToStream(*ExtensionOS, Options, API.ProductName,
std::move(ExtensionSGF.getValue()));
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/119925
More information about the cfe-commits
mailing list