forked from OSchip/llvm-project
Adding a move constructor (due to CopyOnWriteVector requiring move-only semantics) to appease MSVC.
llvm-svn: 206374
This commit is contained in:
parent
26eaef72d0
commit
49b568ead8
|
@ -265,6 +265,12 @@ private:
|
|||
bool HasBackEdges;
|
||||
unsigned SuccessorsToProcess;
|
||||
BlockInfo() : HasBackEdges(false), SuccessorsToProcess(0) {}
|
||||
BlockInfo(BlockInfo &&RHS)
|
||||
: ExitMap(std::move(RHS.ExitMap)), HasBackEdges(RHS.HasBackEdges),
|
||||
SuccessorsToProcess(RHS.SuccessorsToProcess) {}
|
||||
|
||||
private:
|
||||
BlockInfo(const BlockInfo &) LLVM_DELETED_FUNCTION;
|
||||
};
|
||||
|
||||
// We implement the CFGVisitor API
|
||||
|
|
Loading…
Reference in New Issue