<p dir="ltr"><br>
On Feb 25, 2015 8:44 PM, "Duncan P. N. Exon Smith" <<a href="mailto:dexonsmith@apple.com">dexonsmith@apple.com</a>> wrote:<br>
><br>
> Author: dexonsmith<br>
> Date: Wed Feb 25 22:41:10 2015<br>
> New Revision: 230609<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=230609&view=rev">http://llvm.org/viewvc/llvm-project?rev=230609&view=rev</a><br>
> Log:<br>
> IR: Add default constructor for DIImportedEntity<br>
><br>
> Add a default constructor for `DIImportedEntity`, to be used in clang in<br>
> a follow-up.<br>
><br>
> Modified:<br>
> llvm/trunk/include/llvm/IR/DebugInfo.h<br>
><br>
> Modified: llvm/trunk/include/llvm/IR/DebugInfo.h<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugInfo.h?rev=230609&r1=230608&r2=230609&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugInfo.h?rev=230609&r1=230608&r2=230609&view=diff</a><br>
> ==============================================================================<br>
> --- llvm/trunk/include/llvm/IR/DebugInfo.h (original)<br>
> +++ llvm/trunk/include/llvm/IR/DebugInfo.h Wed Feb 25 22:41:10 2015<br>
> @@ -1030,6 +1030,7 @@ class DIImportedEntity : public DIDescri<br>
> void printInternal(raw_ostream &OS) const;<br>
><br>
> public:<br>
> + DIImportedEntity() {}</p>
<p dir="ltr">= default? (Helps preserve triviality where applicable)</p>
<p dir="ltr">> explicit DIImportedEntity(const MDNode *N) : DIDescriptor(N) {}<br>
> DIScope getContext() const { return getFieldAs<DIScope>(1); }<br>
> DIDescriptorRef getEntity() const { return getFieldAs<DIDescriptorRef>(2); }<br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</p>