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/include/clang/ScalableStaticAnalysisFramework/Core/EntityLinker/EntityLinker.h
clang/include/clang/ScalableStaticAnalysisFramework/Core/EntityLinker/LUSummary.h
clang/include/clang/ScalableStaticAnalysisFramework/Core/EntityLinker/LUSummaryEncoding.h
clang/include/clang/ScalableStaticAnalysisFramework/Core/EntityLinker/TUSummaryEncoding.h
clang/include/clang/ScalableStaticAnalysisFramework/Core/TUSummary/TUSummary.h
clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/JSONFormatImpl.cpp
clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/JSONFormatImpl.h
clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/LUSummary.cpp
clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/LUSummaryEncoding.cpp
clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/TUSummary.cpp
clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/TUSummaryEncoding.cpp
clang/lib/ScalableStaticAnalysisFramework/Frontend/TUSummaryExtractorFrontendAction.cpp
clang/tools/clang-ssaf-linker/SSAFLinker.cpp
clang/unittests/ScalableStaticAnalysisFramework/Analyses/CallGraph/CallGraphExtractorTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowWPATest.cpp
clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageWPATest.cpp
clang/unittests/ScalableStaticAnalysisFramework/EntityLinkerTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/LUSummaryTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/Registries/MockSerializationFormat.cpp
clang/unittests/ScalableStaticAnalysisFramework/Registries/SummaryExtractorRegistryTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/LUSummaryTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/TUSummaryTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/SummaryData/SummaryDataTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/TUSummaryBuilderTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis/AnalysisDriverTest.cpp
clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
--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/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/LUSummaryTest.cpp
b/clang/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/LUSummaryTest.cpp
index 8c3b81321..76d6f4b01 100644
---
a/clang/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/LUSummaryTest.cpp
+++
b/clang/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/LUSummaryTest.cpp
@@ -63,8 +63,7 @@ SummaryOps LUSummaryEncodingOps{
[](llvm::StringRef FilePath) -> llvm::Error {
BuildNamespace BN(BuildNamespaceKind::CompilationUnit, "test.cpp");
NestedBuildNamespace NBN(std::move(BN));
- LUSummaryEncoding E(llvm::Triple("arm64-apple-macosx"),
- std::move(NBN));
+ LUSummaryEncoding E(llvm::Triple("arm64-apple-macosx"), std::move(NBN));
return JSONFormat().writeLUSummaryEncoding(E, FilePath);
},
[](llvm::StringRef InputFilePath,
diff --git
a/clang/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/TUSummaryTest.cpp
b/clang/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/TUSummaryTest.cpp
index d59a53066..d95a3e6d0 100644
---
a/clang/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/TUSummaryTest.cpp
+++
b/clang/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/TUSummaryTest.cpp
@@ -60,8 +60,7 @@ SummaryOps TUSummaryEncodingOps{
},
[](llvm::StringRef FilePath) -> llvm::Error {
BuildNamespace BN(BuildNamespaceKind::CompilationUnit, "test.cpp");
- TUSummaryEncoding E(llvm::Triple("arm64-apple-macosx"),
- std::move(BN));
+ TUSummaryEncoding E(llvm::Triple("arm64-apple-macosx"), std::move(BN));
return JSONFormat().writeTUSummaryEncoding(E, FilePath);
},
[](llvm::StringRef InputFilePath,
``````````
</details>
https://github.com/llvm/llvm-project/pull/204027
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits