[llvm] r230613 - IR: Use '= default' instead of r230609, NFC
Duncan P. N. Exon Smith
dexonsmith at apple.com
Wed Feb 25 21:00:42 PST 2015
Author: dexonsmith
Date: Wed Feb 25 23:00:42 2015
New Revision: 230613
URL: http://llvm.org/viewvc/llvm-project?rev=230613&view=rev
Log:
IR: Use '= default' instead of r230609, NFC
Apparently we can use this now!
Modified:
llvm/trunk/include/llvm/IR/DebugInfo.h
Modified: llvm/trunk/include/llvm/IR/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugInfo.h?rev=230613&r1=230612&r2=230613&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/IR/DebugInfo.h Wed Feb 25 23:00:42 2015
@@ -1030,7 +1030,7 @@ class DIImportedEntity : public DIDescri
void printInternal(raw_ostream &OS) const;
public:
- DIImportedEntity() {}
+ DIImportedEntity() = default;
explicit DIImportedEntity(const MDNode *N) : DIDescriptor(N) {}
DIScope getContext() const { return getFieldAs<DIScope>(1); }
DIDescriptorRef getEntity() const { return getFieldAs<DIDescriptorRef>(2); }
More information about the llvm-commits
mailing list