[lld] r190554 - Run clang-format.

Nick Kledzik kledzik at apple.com
Wed Sep 11 16:19:50 PDT 2013


The YAML I/O templates are basically tables of how to map yaml keys to struct fields.  
I had all them all carefully aligned into two columns (key and field).  clang-format
went and destroyed all that.  

Is there someway to tell clang-format to not change some formatting?  
Or should we just not run clang-format blindly?

-Nick

On Sep 11, 2013, at 3:21 PM, Rui Ueyama <ruiu at google.com> wrote:
> -    io.mapRequired("name",      keys->_name);
> -    io.mapOptional("ref-name",  keys->_refName, StringRef());
> -    io.mapOptional("scope",     keys->_scope);
> -    io.mapRequired("value",     keys->_value);
> +    io.mapRequired("name", keys->_name);
> +    io.mapOptional("ref-name", keys->_refName, StringRef());
> +    io.mapOptional("scope", keys->_scope);
> +    io.mapRequired("value", keys->_value);
>   }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130911/110f3282/attachment.html>


More information about the llvm-commits mailing list