[cfe-commits] r148584 - in /cfe/trunk/lib/CodeGen: CGDebugInfo.cpp CGDebugInfo.h
Eric Christopher
echristo at apple.com
Fri Jan 20 14:17:34 PST 2012
As a note I should refactor this into a separate routine since it shows up a few times now.
-eric
On Jan 20, 2012, at 2:10 PM, Eric Christopher wrote:
> + if (CXXDecl)
> + Ty = DBuilder.createClassType(FDContext, RD->getName(), DefUnit,
> + Line, 0, 0, 0,
> + llvm::DIType::FlagFwdDecl,
> + llvm::DIType(), llvm::DIArray());
> + else if (RD->isStruct())
> + Ty = DBuilder.createStructType(FDContext, RD->getName(), DefUnit,
> + Line, 0, 0, llvm::DIType::FlagFwdDecl,
> + llvm::DIArray());
> + else if (RD->isUnion())
> + Ty = DBuilder.createUnionType(FDContext, RD->getName(), DefUnit,
> + Line, 0, 0, llvm::DIType::FlagFwdDecl,
> + llvm::DIArray());
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120120/6291604f/attachment.html>
More information about the cfe-commits
mailing list