<div dir="auto">Indeed, sorry I missed that. Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Nov 8, 2017 19:26, "Alex L" <<a href="mailto:arphaman@gmail.com">arphaman@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Hi Sam,</div><div><br></div>I believe that was already fixed in r317677 (<a href="https://reviews.llvm.org/D38538" target="_blank">https://reviews.llvm.org/<wbr>D38538</a>).<div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra">Alex</div><div class="gmail_extra"><br><div class="gmail_quote">On 8 November 2017 at 10:15, Sam McCall <span dir="ltr"><<a href="mailto:sammccall@google.com" target="_blank">sammccall@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I'm experimenting with how completions are displayed in clangd, and trying to reduce the noise, particularly for templates.</div><div><br></div><div>e.g. this example</div><div> std::vector<int> X;</div><div> X.push_back|</div><div>currently produces</div><div> void push_back(std::vector<int, std::allocator<int> >::value_type &&__x)</div><div>and i'd prefer</div><div> void push_back(value_type &&__x)</div><div><br></div><div>I can get this by enabling PrintingPolicy.SuppressScope in SemaCodeComplete.</div><div>My initial thought was just to do this locally in clangd, but maybe:</div><div> - there are known cases where this falls down terribly</div><div> - this is just better and we should turn it on for other users (xcode?) too</div><div><br></div><div>The global change only breaks a few tests, in the obvious way: either a return type or parameter of a completion is no longer qualified.</div><div><br></div><div>(There are other things that are noisy here -- int would be better than value_type -- but that's a different question)</div><div><br></div><div>Cheers, Sam</div></div>
</blockquote></div><br></div></div>
</blockquote></div></div>