llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/146509.diff 1 Files Affected: - (modified) clang/lib/AST/ByteCode/Interp.h (-14) ``````````diff diff --git a/clang/lib/AST/ByteCode/Interp.h b/clang/lib/AST/ByteCode/Interp.h index dcc4587751974..94ab59cc59c98 100644 --- a/clang/lib/AST/ByteCode/Interp.h +++ b/clang/lib/AST/ByteCode/Interp.h @@ -1332,20 +1332,6 @@ bool GE(InterpState &S, CodePtr OpPC) { }); } -//===----------------------------------------------------------------------===// -// InRange -//===----------------------------------------------------------------------===// - -template <PrimType Name, class T = typename PrimConv<Name>::T> -bool InRange(InterpState &S, CodePtr OpPC) { - const T RHS = S.Stk.pop<T>(); - const T LHS = S.Stk.pop<T>(); - const T Value = S.Stk.pop<T>(); - - S.Stk.push<bool>(LHS <= Value && Value <= RHS); - return true; -} - //===----------------------------------------------------------------------===// // Dup, Pop, Test //===----------------------------------------------------------------------===// `````````` </details> https://github.com/llvm/llvm-project/pull/146509 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits