Mark empty default constructors as =default if it makes the type POD

NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234694 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2015-04-11 18:57:14 +00:00
parent 7ba137f94b
commit 822147fcb2
8 changed files with 8 additions and 13 deletions

View File

@ -41,9 +41,9 @@ struct PointerOffsetPair {
};
struct LoadPOPPair {
LoadPOPPair() = default;
LoadPOPPair(LoadInst *L, PointerOffsetPair P, unsigned O)
: Load(L), POP(P), InsertOrder(O) {}
LoadPOPPair() {}
LoadInst *Load;
PointerOffsetPair POP;
/// \brief The new load needs to be created before the first load in IR order.