[Patch] Removing static initializers from TimeValue
beanz at apple.com
Thu Aug 28 16:49:29 PDT 2014
constexpr isn't supported by MSVC until 2013's CTP. I will remove the consts and commit.
On Aug 28, 2014, at 4:46 PM, Chandler Carruth <chandlerc at google.com> wrote:
> 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