tony-tye added inline comments.
================ Comment at: lib/CodeGen/CodeGenTypes.cpp:743 + auto NullPtr = CGM.getNullPtr(LLPT, T); + return isa<llvm::ConstantPointerNull>(NullPtr); + } ---------------- Is this correct if the target does not represent a NULL pointer as the address with value 0? Or should this be asking the target if this null pointer is represented by an address value of 0? https://reviews.llvm.org/D26196 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits