CGDebugInfo: Use DIImportedEntity default constructor, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 26 Feb 2015 04:44:27 +0000 (04:44 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 26 Feb 2015 04:44:27 +0000 (04:44 +0000)
commita346e03084dbaa16fa21862ec58db075fec64514
tree885731bef3529a90667db03f2b37022b44b27714
parentc316bbb9123609ffa90ead8ae243ff1337836930
CGDebugInfo: Use DIImportedEntity default constructor, NFC

Use the newly minted `DIImportedEntity` default constructor (r230609)
rather than explicitly specifying `nullptr`.  The latter will become
ambiguous when the new debug info hierarchy is committed, since we'll
have both of the following:

    explicit DIImportedEntity(const MDNode *);
    DIImportedEntity(const MDImportedEntity *);

(Currently we just have the former.)

A default constructor is just as clear.

llvm-svn: 230610
clang/lib/CodeGen/CGDebugInfo.cpp