Clang is dying on this with an ambiguous conversion sequence. We're working on it
authorDouglas Gregor <dgregor@apple.com>
Fri, 7 May 2010 22:28:25 +0000 (22:28 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 7 May 2010 22:28:25 +0000 (22:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103312 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DebugInfo.h

index c1abc9cf1a24067d5b271f731c19a4169df153f6..0ba0c5a33eee92d08e734b53fdfa8d85f5dcc893 100644 (file)
@@ -63,7 +63,6 @@ namespace llvm {
 
     bool Verify() const { return DbgNode != 0; }
 
-    operator const MDNode *() const { return DbgNode; }
     operator MDNode *() const { return const_cast<MDNode*>(DbgNode); }
     MDNode *operator ->() const { return const_cast<MDNode*>(DbgNode); }