[clang] [NFC} Call base class method in DarwinAArch64TargetInfo::getOSDefines (PR #114241)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 30 07:40:32 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Akira Hatanaka (ahatanak)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/114241.diff
1 Files Affected:
- (modified) clang/lib/Basic/Targets/AArch64.cpp (+1-1)
``````````diff
diff --git a/clang/lib/Basic/Targets/AArch64.cpp b/clang/lib/Basic/Targets/AArch64.cpp
index a0f94d5d315480..e9c1917ccbf060 100644
--- a/clang/lib/Basic/Targets/AArch64.cpp
+++ b/clang/lib/Basic/Targets/AArch64.cpp
@@ -1716,7 +1716,7 @@ void DarwinAArch64TargetInfo::getOSDefines(const LangOptions &Opts,
if (Triple.isArm64e())
Builder.defineMacro("__arm64e__", "1");
- getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion);
+ DarwinTargetInfo<AArch64leTargetInfo>::getOSDefines(Opts, Triple, Builder);
}
TargetInfo::BuiltinVaListKind
``````````
</details>
https://github.com/llvm/llvm-project/pull/114241
More information about the cfe-commits
mailing list