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 fe6bced9e40f7d4c35550c51ef9cdc7be2a055e7 
642057c409b1c3b98ee4ecb16e95b5fb5be47a01 --extensions h,cpp -- 
clang/lib/StaticAnalyzer/Checkers/WebKit/RetainPtrCtorAdoptChecker.cpp 
clang/test/Analysis/Checkers/WebKit/objc-mock-types.h
``````````

</details>

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

``````````diff
diff --git 
a/clang/lib/StaticAnalyzer/Checkers/WebKit/RetainPtrCtorAdoptChecker.cpp 
b/clang/lib/StaticAnalyzer/Checkers/WebKit/RetainPtrCtorAdoptChecker.cpp
index 2d9620cc8e..5f9d7b81f1 100644
--- a/clang/lib/StaticAnalyzer/Checkers/WebKit/RetainPtrCtorAdoptChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/WebKit/RetainPtrCtorAdoptChecker.cpp
@@ -146,8 +146,7 @@ public:
       reportUseAfterFree(Name, CE, DeclWithIssue);
   }
 
-  void checkCreateOrCopyFunction(const CallExpr *CE,
-                                 const FunctionDecl *Callee,
+  void checkCreateOrCopyFunction(const CallExpr *CE, const FunctionDecl 
*Callee,
                                  const Decl *DeclWithIssue) const {
     if (!isCreateOrCopyFunction(Callee))
       return;
@@ -203,7 +202,7 @@ public:
 
     if (isCreateOrCopy(Arg))
       CreateOrCopyFnCall.insert(Arg); // Avoid double reporting.
-    
+
     if (Result == IsOwnedResult::Skip)
       return;
 

``````````

</details>


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

Reply via email to