[lld] r189876 - [lld] Remove bitfield for boolean members

Shankar Easwaran shankare at codeaurora.org
Tue Sep 3 15:55:45 PDT 2013


Author: shankare
Date: Tue Sep  3 17:55:45 2013
New Revision: 189876

URL: http://llvm.org/viewvc/llvm-project?rev=189876&view=rev
Log:
[lld] Remove bitfield for boolean members

Modified:
    lld/trunk/include/lld/Driver/LinkerInput.h
    lld/trunk/lib/ReaderWriter/ELF/File.h

Modified: lld/trunk/include/lld/Driver/LinkerInput.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Driver/LinkerInput.h?rev=189876&r1=189875&r2=189876&view=diff
==============================================================================
--- lld/trunk/include/lld/Driver/LinkerInput.h (original)
+++ lld/trunk/include/lld/Driver/LinkerInput.h Tue Sep  3 17:55:45 2013
@@ -98,8 +98,8 @@ public:
 private:
   mutable std::unique_ptr<llvm::MemoryBuffer> _buffer;
   std::string _file;
-  bool _isForceLoad : 1;
-  bool _asNeeded : 1;
+  bool _isForceLoad;
+  bool _asNeeded;
 };
 
 } // namespace lld

Modified: lld/trunk/lib/ReaderWriter/ELF/File.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/File.h?rev=189876&r1=189875&r2=189876&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/File.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/File.h Tue Sep  3 17:55:45 2013
@@ -735,7 +735,7 @@ private:
   int64_t _ordinal;
 
   /// \brief the cached options relevant while reading the ELF File
-  bool _doStringsMerge : 1;
+  bool _doStringsMerge;
 };
 
 /// \brief All atoms are owned by a File. To add linker specific atoms





More information about the llvm-commits mailing list