projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84bcabc
)
[ELF] - Fix build bot after rL327612.
author
George Rimar
<grimar@accesssoftek.com>
Thu, 15 Mar 2018 09:24:51 +0000
(09:24 +0000)
committer
George Rimar
<grimar@accesssoftek.com>
Thu, 15 Mar 2018 09:24:51 +0000
(09:24 +0000)
Error was:
error: field 'Size' will be initialized after field 'CommandString' [-Werror,-Wreorder]
llvm-svn: 327613
lld/ELF/LinkerScript.h
patch
|
blob
|
history
diff --git
a/lld/ELF/LinkerScript.h
b/lld/ELF/LinkerScript.h
index
5d5e40e
..
dc54061
100644
(file)
--- a/
lld/ELF/LinkerScript.h
+++ b/
lld/ELF/LinkerScript.h
@@
-191,8
+191,8
@@
struct AssertCommand : BaseCommand {
// Represents BYTE(), SHORT(), LONG(), or QUAD().
struct ByteCommand : BaseCommand {
ByteCommand(Expr E, unsigned Size, std::string CommandString)
- : BaseCommand(ByteKind), Expression(E),
Size(Size
),
-
CommandString(CommandString
) {}
+ : BaseCommand(ByteKind), Expression(E),
CommandString(CommandString
),
+
Size(Size
) {}
static bool classof(const BaseCommand *C) { return C->Kind == ByteKind; }