From 70bf8d0495cee2772ae1b0c1b046721e0339f62f Mon Sep 17 00:00:00 2001 From: Lukáš Zaoral Date: Sat, 5 Mar 2022 16:50:36 +0100 Subject: llvm14: PointerType::getElementType() was deprecated ... for LLVM 14 in [1] and has already been removed from the LLVM 15 branch in [2]. Some changes are only temporary to silence the warning though, as Type::getPointerElementType() is planned to be removed as well. [3] [1] https://reviews.llvm.org/D117885/new/ [2] https://github.com/llvm/llvm-project/commit/d593cf7 [3] https://llvm.org/docs/OpaquePointers.html#migration-instructions --- lib/Core/Executor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Core/Executor.h') diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h index 21d0d081..c821b987 100644 --- a/lib/Core/Executor.h +++ b/lib/Core/Executor.h @@ -449,7 +449,7 @@ private: /// bindModuleConstants - Initialize the module constant table. void bindModuleConstants(); - template + template void computeOffsetsSeqTy(KGEPInstruction *kgepi, ref &constantOffset, uint64_t index, const TypeIt it); -- cgit 1.4.1