[clang] 4d7e516 - [OHOS] Remove redundant IsIntegratedAssemblerDefault. NFC
Brad Smith via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 31 17:31:40 PDT 2023
Author: Brad Smith
Date: 2023-03-31T20:27:29-04:00
New Revision: 4d7e5163d96758516c4838f05bfaa481d63179e1
URL: https://github.com/llvm/llvm-project/commit/4d7e5163d96758516c4838f05bfaa481d63179e1
DIFF: https://github.com/llvm/llvm-project/commit/4d7e5163d96758516c4838f05bfaa481d63179e1.diff
LOG: [OHOS] Remove redundant IsIntegratedAssemblerDefault. NFC
It is already enabled.
Added:
Modified:
clang/lib/Driver/ToolChains/OHOS.h
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/OHOS.h b/clang/lib/Driver/ToolChains/OHOS.h
index 9ce0d0c4325bf..b648d0ffa67a1 100644
--- a/clang/lib/Driver/ToolChains/OHOS.h
+++ b/clang/lib/Driver/ToolChains/OHOS.h
@@ -23,8 +23,9 @@ class LLVM_LIBRARY_VISIBILITY OHOS : public Generic_ELF {
const llvm::opt::ArgList &Args);
bool HasNativeLLVMSupport() const override { return true; }
- bool IsIntegratedAssemblerDefault() const override { return true; }
+
bool IsMathErrnoDefault() const override { return false; }
+
RuntimeLibType GetDefaultRuntimeLibType() const override {
return ToolChain::RLT_CompilerRT;
}
More information about the cfe-commits
mailing list