echristo added a comment.

Looks pretty good. Could you pass CGM in and just make the functions static I 
couldn't see any other class variables, but might have missed something. One 
inline comment as well.

-eric



================
Comment at: lib/CodeGen/CGDebugInfo.cpp:997
   llvm::DINode::DIFlags Flags = llvm::DINode::FlagAppleBlock;
   unsigned LineNo = 0;
 
----------------
Just noticed that LineNo is 0... for the entire function.


https://reviews.llvm.org/D50099



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to