[Patch] Removing static initializers from TimeValue
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.
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits