<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 31, 2017 at 8:12 AM Don Hinton <<a href="mailto:hintonda@gmail.com">hintonda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>There have been a few suggestions that I could just use a script to solve this "problem" -- poor startup performance of clangdiag.</div><div><br></div><div>However, this patch was not submitted to solve a particular problem.  It was submitted in response to Jim's suggestion:</div><div><br></div><div><span style="color:rgb(80,0,80);font-size:12.8px">On Mon, Oct 23, 2017 at 6:25 PM, Jim Ingham </span><span dir="ltr" style="color:rgb(80,0,80);font-size:12.8px"><<a href="mailto:jingham@apple.com" target="_blank">jingham@apple.com</a>></span><span style="color:rgb(80,0,80);font-size:12.8px"> wrote:</span><br style="color:rgb(80,0,80);font-size:12.8px"><blockquote class="gmail_quote" style="color:rgb(80,0,80);font-size:12.8px;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yeah, that would be easy to implement from the command line, maybe add a --file-is-regex flag or something.<br><br>From the SB API it would be better to have something like:<br><br>SBFileList SBTarget.GetFileListMatchingRegex("regex")<br><br>Please file an enhancement request for these of hack'em in if you're so motivated.<br></blockquote><div><br></div><div>clangdiag was only provided as a motivating example.</div></div></div></blockquote><div><br></div><div>Fair point, I had forgotten about that.  That said, I'm honestly still not that big of a fan.   It's no secret that I have a higher bar than others for options and API additions, but to me the potential use this particular option + SB API would get is not sufficient to justify the long term maintenance burden associated with having it.</div></div></div>