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 << ")";