[llvm] eca9907 - [ExecutionEngine] Fix a warning
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 20:33:15 PDT 2022
Author: Kazu Hirata
Date: 2022-08-15T20:33:10-07:00
New Revision: eca990702d5676151419655098afb57b22cab600
URL: https://github.com/llvm/llvm-project/commit/eca990702d5676151419655098afb57b22cab600
DIFF: https://github.com/llvm/llvm-project/commit/eca990702d5676151419655098afb57b22cab600.diff
LOG: [ExecutionEngine] Fix a warning
This patch fixes the warning:
llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp:66:11: error: unused
type alias 'Base' [-Werror,-Wunused-local-typedef]
Added:
Modified:
llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp b/llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp
index c6ddd32d2561..456a80e1efba 100644
--- a/llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp
+++ b/llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp
@@ -63,8 +63,6 @@ class ELFLinkGraphBuilder_i386 : public ELFLinkGraphBuilder<ELFT> {
Error addRelocations() override {
LLVM_DEBUG(dbgs() << "Adding relocations\n");
- using Base = ELFLinkGraphBuilder<ELFT>;
-
return Error::success();
}
More information about the llvm-commits
mailing list