[PATCH] D26332: Add a user-defined literal for StringRef

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 10:01:20 PST 2016


chandlerc added a comment.

There are a bunch of unrelated cleanups here. I don't know if those are good or not, but they make it really hard to even read this patch.

As several have said, I don't think continuing to update this patch is the right path forward. IMO you should:

1. take any pure cleanup (IE, unrelated to UDLs) parts of this patch, factor them into nice small patches that touch an isolated part of LLVM and send those out for review.

2. send a mail to llvm-dev explaining *why* you think we need a UDL for StringRef (what problems it solves, why the issues raised by myself and Pete don't apply) and why other solutions don't work.

Then #2 can resolve the actual debate. Note that if the "why" is what Zach hypothesizes, I would much prefer the approach he suggested to a UDL.

-Chandler


https://reviews.llvm.org/D26332





More information about the llvm-commits mailing list