<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>The YAML I/O templates are basically tables of how to map yaml keys to struct fields.  </div><div>I had all them all carefully aligned into two columns (key and field).  clang-format</div><div>went and destroyed all that.  </div><div><br></div><div>Is there someway to tell clang-format to not change some formatting?  </div><div>Or should we just not run clang-format blindly?</div><div><br></div><div>-Nick</div><br>On Sep 11, 2013, at 3:21 PM, Rui Ueyama <<a href="mailto:ruiu@google.com">ruiu@google.com</a>> wrote:<br><blockquote type="cite" dir="auto"><font face="Monaco" size="1">-    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></font></blockquote><br></body></html>