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 c,cpp,h --
clang/test/CodeGen/kcfi-salt.c clang/include/clang/AST/Type.h
clang/lib/AST/ASTContext.cpp clang/lib/AST/Type.cpp
clang/lib/AST/TypePrinter.cpp clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenModule.cpp clang/lib/CodeGen/CodeGenModule.h
clang/lib/Sema/SemaType.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/AST/TypePrinter.cpp b/clang/lib/AST/TypePrinter.cpp
index 345b2232c..5ed61e8af 100644
--- a/clang/lib/AST/TypePrinter.cpp
+++ b/clang/lib/AST/TypePrinter.cpp
@@ -2107,7 +2107,8 @@ void TypePrinter::printAttributedAfter(const
AttributedType *T,
OS << "ext_vector_type";
break;
case attr::KCFISalt:
- OS << "kcfi_salt(\"" << cast<KCFISaltAttr>(T->getAttr())->getSalt() <<
"\")";
+ OS << "kcfi_salt(\"" << cast<KCFISaltAttr>(T->getAttr())->getSalt()
+ << "\")";
break;
}
OS << "))";
``````````
</details>
https://github.com/llvm/llvm-project/pull/141846
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits