summaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/FunctionPointer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/ByteCode/FunctionPointer.cpp')
-rw-r--r--clang/lib/AST/ByteCode/FunctionPointer.cpp2
1 files changed, 0 insertions, 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<uintptr_t>(Func);
else
OS << "nullptr";
OS << ")";