[llvm] r209481 - Make these bool bitfields.

Eric Christopher echristo at gmail.com
Thu May 22 16:09:57 PDT 2014


Author: echristo
Date: Thu May 22 18:09:57 2014
New Revision: 209481

URL: http://llvm.org/viewvc/llvm-project?rev=209481&view=rev
Log:
Make these bool bitfields.

Modified:
    llvm/trunk/include/llvm/MC/MCTargetOptions.h

Modified: llvm/trunk/include/llvm/MC/MCTargetOptions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCTargetOptions.h?rev=209481&r1=209480&r2=209481&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCTargetOptions.h (original)
+++ llvm/trunk/include/llvm/MC/MCTargetOptions.h Thu May 22 18:09:57 2014
@@ -22,13 +22,13 @@ public:
   /// Enables AddressSanitizer instrumentation at machine level.
   bool SanitizeAddress : 1;
 
-  unsigned MCRelaxAll : 1;
-  unsigned MCNoExecStack : 1;
-  unsigned MCSaveTempLabels : 1;
-  unsigned MCUseDwarfDirectory : 1;
-  unsigned ShowMCEncoding : 1;
-  unsigned ShowMCInst : 1;
-  unsigned AsmVerbose : 1;
+  bool MCRelaxAll : 1;
+  bool MCNoExecStack : 1;
+  bool MCSaveTempLabels : 1;
+  bool MCUseDwarfDirectory : 1;
+  bool ShowMCEncoding : 1;
+  bool ShowMCInst : 1;
+  bool AsmVerbose : 1;
   MCTargetOptions();
 };
 





More information about the llvm-commits mailing list