[clang] [clang] Allow __attribute__((swiftcall)) on all targets (PR #71986)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 10 13:38:38 PST 2023
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 199fc973ced20016b04ba540cf63a1d4914fa513 d2df2830b4417c0ecc9690c4092053bf465a5d44 -- clang/include/clang/Basic/TargetInfo.h clang/lib/CodeGen/ABIInfo.cpp clang/lib/CodeGen/ABIInfo.h clang/lib/CodeGen/TargetInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/ABIInfo.cpp b/clang/lib/CodeGen/ABIInfo.cpp
index 86897504b..4608535a1 100644
--- a/clang/lib/CodeGen/ABIInfo.cpp
+++ b/clang/lib/CodeGen/ABIInfo.cpp
@@ -33,9 +33,7 @@ const CodeGenOptions &ABIInfo::getCodeGenOpts() const {
return CGT.getCodeGenOpts();
}
-CodeGen::CodeGenTypes &ABIInfo::getCodeGenTypes() const {
- return CGT;
-}
+CodeGen::CodeGenTypes &ABIInfo::getCodeGenTypes() const { return CGT; }
bool ABIInfo::isAndroid() const { return getTarget().getTriple().isAndroid(); }
``````````
</details>
https://github.com/llvm/llvm-project/pull/71986
More information about the cfe-commits
mailing list