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:
536ffdf
)
RValue refs do not work that way.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 13 Feb 2016 16:00:13 +0000
(16:00 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 13 Feb 2016 16:00:13 +0000
(16:00 +0000)
llvm-svn: 260823
clang/lib/CodeGen/CGCall.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CGCall.cpp
b/clang/lib/CodeGen/CGCall.cpp
index
0ba0642
..
61b2fe7
100644
(file)
--- a/
clang/lib/CodeGen/CGCall.cpp
+++ b/
clang/lib/CodeGen/CGCall.cpp
@@
-633,7
+633,8
@@
struct RecordExpansion : TypeExpansion {
RecordExpansion(SmallVector<const CXXBaseSpecifier *, 1> &&Bases,
SmallVector<const FieldDecl *, 1> &&Fields)
- : TypeExpansion(TEK_Record), Bases(Bases), Fields(Fields) {}
+ : TypeExpansion(TEK_Record), Bases(std::move(Bases)),
+ Fields(std::move(Fields)) {}
static bool classof(const TypeExpansion *TE) {
return TE->Kind == TEK_Record;
}