[llvm-commits] [lld] r173166 - /lld/trunk/include/lld/Core/LinkerOptions.h
Shankar Easwaran
shankare at codeaurora.org
Tue Jan 22 06:58:51 PST 2013
Author: shankare
Date: Tue Jan 22 08:58:51 2013
New Revision: 173166
URL: http://llvm.org/viewvc/llvm-project?rev=173166&view=rev
Log:
change enum class to enum, as g++ doesnot support bitfields with enumerated classes with c++11 flag set
Modified:
lld/trunk/include/lld/Core/LinkerOptions.h
Modified: lld/trunk/include/lld/Core/LinkerOptions.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/LinkerOptions.h?rev=173166&r1=173165&r2=173166&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/LinkerOptions.h (original)
+++ lld/trunk/include/lld/Core/LinkerOptions.h Tue Jan 22 08:58:51 2013
@@ -117,7 +117,7 @@
mutable InputKind _kind;
};
-enum class OutputKind {
+enum OutputKind {
Executable,
Relocatable,
Shared,
@@ -174,7 +174,7 @@
std::string _outputPath;
std::string _entrySymbol;
uint64_t _baseAddress;
- OutputKind _outputKind;
+ OutputKind _outputKind:2;
/// \brief -###
unsigned _outputCommands : 1;
unsigned _outputYAML : 1;
More information about the llvm-commits
mailing list