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/CodeGen/CGObjCMacConstantLiteralUtil.h 
clang/test/CodeGenObjC/Inputs/constant-literal-support.h 
clang/include/clang/AST/ExprObjC.h clang/include/clang/AST/Stmt.h 
clang/include/clang/Basic/LangOptions.h clang/include/clang/Basic/ObjCRuntime.h 
clang/lib/AST/Expr.cpp clang/lib/AST/ExprConstant.cpp 
clang/lib/AST/ExprObjC.cpp clang/lib/AST/StmtProfile.cpp 
clang/lib/CodeGen/CGExprConstant.cpp clang/lib/CodeGen/CGObjC.cpp 
clang/lib/CodeGen/CGObjCGNU.cpp clang/lib/CodeGen/CGObjCMac.cpp 
clang/lib/CodeGen/CGObjCRuntime.h clang/lib/Driver/ToolChains/Clang.cpp 
clang/lib/Sema/SemaDecl.cpp clang/lib/Sema/SemaExprCXX.cpp 
clang/lib/Sema/SemaExprObjC.cpp clang/lib/Serialization/ASTReaderStmt.cpp 
clang/lib/Serialization/ASTWriterStmt.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/include/clang/AST/ExprObjC.h 
b/clang/include/clang/AST/ExprObjC.h
index 272534a4f..c72890130 100644
--- a/clang/include/clang/AST/ExprObjC.h
+++ b/clang/include/clang/AST/ExprObjC.h
@@ -80,6 +80,7 @@ public:
 class ObjCStringLiteral final : public ObjCObjectLiteral {
   Stmt *String;
   SourceLocation AtLoc;
+
 public:
   ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L)
       : ObjCObjectLiteral(ObjCStringLiteralClass, T, true, VK_PRValue,

``````````

</details>


https://github.com/llvm/llvm-project/pull/185130
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to