From 629126ed44bd3ce5b6f476459c805be4e4e0c2ca Mon Sep 17 00:00:00 2001 From: Timm Baeder Date: Mon, 30 Jun 2025 08:35:01 +0200 Subject: [PATCH] [clang][bytecode][NFC] Remove some dead code (#146287) --- clang/lib/AST/ByteCode/FunctionPointer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/clang/lib/AST/ByteCode/FunctionPointer.cpp b/clang/lib/AST/ByteCode/FunctionPointer.cpp index 4ab7af170efe..248862669728 100644 --- a/clang/lib/AST/ByteCode/FunctionPointer.cpp +++ b/clang/lib/AST/ByteCode/FunctionPointer.cpp @@ -27,8 +27,6 @@ void FunctionPointer::print(llvm::raw_ostream &OS) const { OS << "FnPtr("; if (Func) OS << Func->getName(); - else if (Func) - OS << reinterpret_cast(Func); else OS << "nullptr"; OS << ")";