Revert accidentally committed "MC: Allow targets to stop symbol name quoting"
[oota-llvm.git] / include / llvm / MC / MCSymbol.h
index 464fff4fccbd590ae969451a1d9e592384239629..f1c36f54e08a6b956424c19d967451f9fdd9dfd6 100644 (file)
@@ -55,10 +55,6 @@ namespace llvm {
     /// "Lfoo" or ".foo".
     unsigned IsTemporary : 1;
 
-    /// True if the name should be quoted if "unacceptable" characters are used
-    /// in the name.
-    unsigned NoQuoting : 1;
-
     /// \brief True if this symbol can be redefined.
     unsigned IsRedefinable : 1;
 
@@ -68,10 +64,9 @@ namespace llvm {
   private:  // MCContext creates and uniques these.
     friend class MCExpr;
     friend class MCContext;
-    MCSymbol(StringRef name, bool isTemporary, bool noQuoting)
+    MCSymbol(StringRef name, bool isTemporary)
       : Name(name), Section(nullptr), Value(nullptr),
-        IsTemporary(isTemporary), NoQuoting(noQuoting),
-        IsRedefinable(false), IsUsed(false) {}
+        IsTemporary(isTemporary), IsRedefinable(false), IsUsed(false) {}
 
     MCSymbol(const MCSymbol&) = delete;
     void operator=(const MCSymbol&) = delete;