Author: Timm Baeder
Date: 2025-06-30T08:35:01+02:00
New Revision: 629126ed44bd3ce5b6f476459c805be4e4e0c2ca

URL: 
https://github.com/llvm/llvm-project/commit/629126ed44bd3ce5b6f476459c805be4e4e0c2ca
DIFF: 
https://github.com/llvm/llvm-project/commit/629126ed44bd3ce5b6f476459c805be4e4e0c2ca.diff

LOG: [clang][bytecode][NFC] Remove some dead code (#146287)

Added: 
    

Modified: 
    clang/lib/AST/ByteCode/FunctionPointer.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/ByteCode/FunctionPointer.cpp 
b/clang/lib/AST/ByteCode/FunctionPointer.cpp
index 4ab7af170efe4..2488626697284 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 << ")";


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to