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 HEAD~1 HEAD --extensions cpp,h --
clang/include/clang/Driver/DependencyScanner.h
clang/lib/Driver/DependencyScanner.cpp
clang/test/Driver/modules-driver-dep-scan-diagnostics.cpp
clang/test/Driver/modules-driver-dep-scan-graphviz.cpp
clang/test/Driver/modules-driver-duplicate-named-module.cpp
clang/lib/Driver/Driver.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/include/clang/Driver/DependencyScanner.h
b/clang/include/clang/Driver/DependencyScanner.h
index 35bae7aab..5309dd0f0 100644
--- a/clang/include/clang/Driver/DependencyScanner.h
+++ b/clang/include/clang/Driver/DependencyScanner.h
@@ -213,8 +213,7 @@ public:
/// Subclass of MDGNode representing a Clang module unit.
class ClangModuleMDGNode final : public MDGNode {
public:
- explicit ClangModuleMDGNode(
- const ClangModuleDeps &BackingModuleDeps)
+ explicit ClangModuleMDGNode(const ClangModuleDeps &BackingModuleDeps)
: MDGNode(NodeKind::ClangModule), BackingModuleDeps(&BackingModuleDeps)
{}
/// Define classof to be able to use isa<>, cast<>, dyn_cast<>, etc.
``````````
</details>
https://github.com/llvm/llvm-project/pull/152770
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits