[clang] ObjcRuntime.h: Add mips64, aarch64, and riscv64 to non-legacy dispatch (PR #76694)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 1 16:52:27 PST 2024
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 f33245a5c4411ce586efe2e12fc29aabb241f5e1 97a9a2753c52d6b377d929a4a6e717ab3c69b68d -- clang/include/clang/Basic/ObjCRuntime.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/include/clang/Basic/ObjCRuntime.h b/clang/include/clang/Basic/ObjCRuntime.h
index 29392ad0a0..adfc04e3bd 100644
--- a/clang/include/clang/Basic/ObjCRuntime.h
+++ b/clang/include/clang/Basic/ObjCRuntime.h
@@ -102,15 +102,15 @@ public:
// version 1.6 onwards
if (getKind() == GNUstep && getVersion() >= VersionTuple(1, 6)) {
switch (Arch) {
- case llvm::Triple::arm:
- case llvm::Triple::x86:
- case llvm::Triple::x86_64:
- case llvm::Triple::aarch64:
- case llvm::Triple::mips64:
- case llvm::Triple::riscv64:
- return false;
- default:
- return true;
+ case llvm::Triple::arm:
+ case llvm::Triple::x86:
+ case llvm::Triple::x86_64:
+ case llvm::Triple::aarch64:
+ case llvm::Triple::mips64:
+ case llvm::Triple::riscv64:
+ return false;
+ default:
+ return true;
}
}
else if ((getKind() == MacOSX) && isNonFragile() &&
``````````
</details>
https://github.com/llvm/llvm-project/pull/76694
More information about the cfe-commits
mailing list