<div dir="ltr">Wait.. We were taking about cases labels .. I think this is significantly outside of the stuff we have planned to look into.<div><br></div><div>But there should be no need for you to format entire files. Use our editor integrations, git-clang-format or our diff-reformatting tool. Then simply fix these few lines up manually. Should not be a frequent problem, I hope..</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 4:14 AM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For what it's worth Daniel is working on formatting of things like this.<br>
<br>
-eric<br>
<br>
On Wed, Sep 11, 2013 at 4:29 PM, Rui Ueyama <<a href="mailto:ruiu@google.com">ruiu@google.com</a>> wrote:<br>
> I ran clang-format because the file has many indentation errors. I've<br>
> noticed that that would also change the table layout but I thought that that<br>
> was not really bad.<br>
><br>
> It looks like there's no way to tell clang-format to keep this table layout.<br>
> That means we wouldn't be able to use clang-format on this file, or<br>
> hand-edit after running clang-format, if we maintain this table layout.<br>
><br>
> I can resurrect the table layout and fix only the indentation errors if you<br>
> want.<br>
><br>
><br>
> On Wed, Sep 11, 2013 at 4:19 PM, Nick Kledzik <<a href="mailto:kledzik@apple.com">kledzik@apple.com</a>> wrote:<br>
>><br>
>> The YAML I/O templates are basically tables of how to map yaml keys to<br>
>> struct fields.<br>
>> I had all them all carefully aligned into two columns (key and field).<br>
>> clang-format<br>
>> went and destroyed all that.<br>
>><br>
>> Is there someway to tell clang-format to not change some formatting?<br>
>> Or should we just not run clang-format blindly?<br>
>><br>
>> -Nick<br>
>><br>
>> On Sep 11, 2013, at 3:21 PM, Rui Ueyama <<a href="mailto:ruiu@google.com">ruiu@google.com</a>> wrote:<br>
>><br>
>> -    io.mapRequired("name",      keys->_name);<br>
>> -    io.mapOptional("ref-name",  keys->_refName, StringRef());<br>
>> -    io.mapOptional("scope",     keys->_scope);<br>
>> -    io.mapRequired("value",     keys->_value);<br>
>> +    io.mapRequired("name", keys->_name);<br>
>> +    io.mapOptional("ref-name", keys->_refName, StringRef());<br>
>> +    io.mapOptional("scope", keys->_scope);<br>
>> +    io.mapRequired("value", keys->_value);<br>
>>   }<br>
>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
><br>
</blockquote></div><br></div>