[llvm] r230609 - IR: Add default constructor for DIImportedEntity

Duncan P. N. Exon Smith dexonsmith at apple.com
Wed Feb 25 21:03:39 PST 2015


> On 2015 Feb 25, at 20:50, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
> 
>> 
>> On 2015 Feb 25, at 20:49, David Blaikie <dblaikie at gmail.com> wrote:
>> 
>> 
>> On Feb 25, 2015 8:44 PM, "Duncan P. N. Exon Smith" <dexonsmith at apple.com> wrote:
>>> 
>>> Author: dexonsmith
>>> Date: Wed Feb 25 22:41:10 2015
>>> New Revision: 230609
>>> 
>>> URL: http://llvm.org/viewvc/llvm-project?rev=230609&view=rev
>>> Log:
>>> IR: Add default constructor for DIImportedEntity
>>> 
>>> Add a default constructor for `DIImportedEntity`, to be used in clang in
>>> a follow-up.
>>> 
>>> 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=230609&r1=230608&r2=230609&view=diff
>>> ==============================================================================
>>> --- llvm/trunk/include/llvm/IR/DebugInfo.h (original)
>>> +++ llvm/trunk/include/llvm/IR/DebugInfo.h Wed Feb 25 22:41:10 2015
>>> @@ -1030,6 +1030,7 @@ class DIImportedEntity : public DIDescri
>>>   void printInternal(raw_ostream &OS) const;
>>> 
>>> public:
>>> +  DIImportedEntity() {}
>> 
>> = default? (Helps preserve triviality where applicable)
> 
> Is that allowed now?

Apparently it is (I found a use in Orc)!

r230613.



More information about the llvm-commits mailing list