=?utf-8?q?Donát?= Nagy <donat.n...@ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.n...@ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.n...@ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.n...@ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.n...@ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/147...@github.com>


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 h,cpp -- 
clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h 
clang/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandling.cpp
 clang/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandling.cpp 
clang/lib/Analysis/plugins/SampleAnalyzer/MainCallChecker.cpp 
clang/unittests/StaticAnalyzer/BlockEntranceCallbackTest.cpp 
clang/unittests/StaticAnalyzer/BugReportInterestingnessTest.cpp 
clang/unittests/StaticAnalyzer/CallDescriptionTest.cpp 
clang/unittests/StaticAnalyzer/CallEventTest.cpp 
clang/unittests/StaticAnalyzer/ConflictingEvalCallsTest.cpp 
clang/unittests/StaticAnalyzer/ExprEngineVisitTest.cpp 
clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp 
clang/unittests/StaticAnalyzer/MemRegionDescriptiveNameTest.cpp 
clang/unittests/StaticAnalyzer/NoStateChangeFuncVisitorTest.cpp 
clang/unittests/StaticAnalyzer/ObjcBug-124477.cpp 
clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp 
clang/unittests/StaticAnalyzer/SValSimplifyerTest.cpp 
clang/unittests/StaticAnalyzer/SValTest.cpp 
clang/unittests/StaticAnalyzer/TestReturnValueUnderConstruction.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h 
b/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
index eedb813b0..35f63e734 100644
--- a/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
+++ b/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
@@ -108,9 +108,7 @@ private:
     mgr.template registerChecker<T>();
   }
 
-  static bool returnTrue(const CheckerManager &) {
-    return true;
-  }
+  static bool returnTrue(const CheckerManager &) { return true; }
 
   /// Adds a checker to the registry.
   /// This private, most general variant is intended for loading the checker

``````````

</details>


https://github.com/llvm/llvm-project/pull/147797
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to