Remove getData.
[oota-llvm.git] / include / llvm / MC / MCSymbol.h
index 7db5bade8e2449956c44f8112b2a35d4ffa33e6e..b9bb7c3d65967faab14a1ba51d0846e205a9091d 100644 (file)
@@ -117,8 +117,6 @@ public:
 
   bool hasData() const { return HasData; }
 
-  MCSymbol &getData() const { return *const_cast<MCSymbol *>(this); }
-
   /// Initialize symbol data.
   ///
   /// Nothing really to do here, but this is enables an assertion that \a