[Patch] Removing static initializers from TimeValue

Chandler Carruth chandlerc at google.com
Thu Aug 28 16:46:46 PDT 2014

No need for 'const' on a return type.

I wonder if we could use constexpr and make TimeValue a literal type? If
so, that seems mildly preferable. If not, oh well, your patch still LGTM
with the const removed from the return type.

On Thu, Aug 28, 2014 at 3:21 PM, Chris Bieneman <beanz at apple.com> wrote:

> This patch is some small code cleanup to remove a few static initializers
> and the corresponding global constants from TimeValue.
> -Chris
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140828/285a556b/attachment.html>

More information about the llvm-commits mailing list