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 origin/main HEAD --extensions h,cpp --
clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/WPASuite.cpp
clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/AnalysisResults.h
clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/PairsAnalysis.cpp
clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsAnalysis.cpp
clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsPairsAnalysis.cpp
clang/include/clang/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat.h
clang/include/clang/ScalableStaticAnalysisFramework/Core/Serialization/SerializationFormat.h
clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/DerivedAnalysis.h
clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/WPASuite.h
clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/JSONFormatImpl.cpp
clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/JSONFormatImpl.h
clang/tools/clang-ssaf-format/SSAFFormat.cpp
clang/unittests/ScalableStaticAnalysisFramework/Frontend/TUSummaryExtractorFrontendActionTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/Registries/MockSerializationFormat.cpp
clang/unittests/ScalableStaticAnalysisFramework/Registries/MockSerializationFormat.h
clang/unittests/ScalableStaticAnalysisFramework/TestFixture.h
--diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git
a/clang/include/clang/ScalableStaticAnalysisFramework/Core/Serialization/SerializationFormat.h
b/clang/include/clang/ScalableStaticAnalysisFramework/Core/Serialization/SerializationFormat.h
index 58f4c859e..fd261c6d9 100644
---
a/clang/include/clang/ScalableStaticAnalysisFramework/Core/Serialization/SerializationFormat.h
+++
b/clang/include/clang/ScalableStaticAnalysisFramework/Core/Serialization/SerializationFormat.h
@@ -185,9 +185,9 @@ protected:
/// ConcreteCodec to the global \c llvm::Registry<Codec>. \c static
/// ensures the `Registry::Add` object lives for the entire program,
/// keeping its codec and node alive in the registry's linked list.
- [[maybe_unused]] static typename llvm::Registry<Codec>::template Add<
- ConcreteCodec>
- RegisterUsingCtorSideEffect(NameStr, "");
+ [[maybe_unused]] static
+ typename llvm::Registry<Codec>::template Add<ConcreteCodec>
+ RegisterUsingCtorSideEffect(NameStr, "");
}
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/191082
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits