[llvm] dad3741 - [PowerPC] clang-format isPPC64ELFv2ABI() function. NFC
Brad Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 21 11:43:28 PST 2023
Author: Brad Smith
Date: 2023-02-21T14:43:17-05:00
New Revision: dad3741e3bdc6e126c5b3adec9242d7b2d926282
URL: https://github.com/llvm/llvm-project/commit/dad3741e3bdc6e126c5b3adec9242d7b2d926282
DIFF: https://github.com/llvm/llvm-project/commit/dad3741e3bdc6e126c5b3adec9242d7b2d926282.diff
LOG: [PowerPC] clang-format isPPC64ELFv2ABI() function. NFC
Added:
Modified:
llvm/include/llvm/TargetParser/Triple.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h
index 9910bb2a1f14..311665305e07 100644
--- a/llvm/include/llvm/TargetParser/Triple.h
+++ b/llvm/include/llvm/TargetParser/Triple.h
@@ -886,8 +886,8 @@ class Triple {
bool isPPC64ELFv2ABI() const {
return (getArch() == Triple::ppc64 &&
((getOS() == Triple::FreeBSD &&
- (getOSMajorVersion() >= 13 || getOSVersion().empty())) ||
- getOS() == Triple::OpenBSD || isMusl()));
+ (getOSMajorVersion() >= 13 || getOSVersion().empty())) ||
+ getOS() == Triple::OpenBSD || isMusl()));
}
/// Tests whether the target 32-bit PowerPC uses Secure PLT.
More information about the llvm-commits
mailing list