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/146287.diff


1 Files Affected:

- (modified) clang/lib/AST/ByteCode/FunctionPointer.cpp (-2) 


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

``````````

</details>


https://github.com/llvm/llvm-project/pull/146287
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to