From: Douglas Gregor Date: Fri, 7 May 2010 22:28:25 +0000 (+0000) Subject: Clang is dying on this with an ambiguous conversion sequence. We're working on it X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2be6e6d59c6778637266aed3a334f6c53de71fc7;p=oota-llvm.git Clang is dying on this with an ambiguous conversion sequence. We're working on it git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103312 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index c1abc9cf1a2..0ba0c5a33ee 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -63,7 +63,6 @@ namespace llvm { bool Verify() const { return DbgNode != 0; } - operator const MDNode *() const { return DbgNode; } operator MDNode *() const { return const_cast(DbgNode); } MDNode *operator ->() const { return const_cast(DbgNode); }