[cfe-commits] PATCH: Minor refactoring: add CodeGenFunction::maybeInitializeDebugInfo()
Alexey Samsonov
samsonov at google.com
Mon Oct 15 08:46:23 PDT 2012
Hi,
This small patch transforms occurrences of pattern
if (CGM.getModuleDebugInfo())
DebugInfo = CGM.getModuleDebugInfo()
into a call
maybeInitializeDebugInfo();
This is a simplification for a possible future fix of PR13942.
Code review: https://codereview.appspot.com/6699043/
--
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121015/5fd7aecb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: issue6699043_1.diff
Type: application/octet-stream
Size: 4585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121015/5fd7aecb/attachment.obj>
More information about the cfe-commits
mailing list