<p dir="ltr">There was no intentional change in behavior here, but depending on the input, clang-format might always have done this or we might have introduced a bug. Can you give me instructions to reproduce the behavior? What exactly was your input to clang-format-diff? </p>
<div class="gmail_quote">On Jan 27, 2014 4:27 AM, "Alp Toker" <<a href="mailto:alp@nuanti.com">alp@nuanti.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 bgcolor="#FFFFFF" text="#000000">
Hi Daniel,<br>
<br>
clang-format-diff is clobbering the existing indentation of
namespaces in the LLVM codebase:<br>
<br>
<code>--- a/include/llvm/Support/ErrorHandling.h</code><code><br>
</code><code>+++ b/include/llvm/Support/ErrorHandling.h</code><code><br>
</code><code>@@ -19,7 +19,7 @@</code><code><br>
</code><code> #include <string></code><code><br>
</code><code> </code><code><br>
</code><code> namespace llvm {</code><code><br>
</code><code>- class StringRef;</code><code><br>
</code><code>+class StringRef;</code><code><br>
</code><code> class Twine;</code><br>
<br>
CCing the list as it's easy to miss before committing for anyone
else using the tool, so heads up on that.<br>
<br>
(Switching back to a clang-format snapshot from a couple of months
ago has worked out fine to format the large-scale refactoring
changes landed to ToT last week.)<br>
<br>
Alp.<br>
<br>
<br>
<pre cols="72">--
<a href="http://www.nuanti.com" target="_blank">http://www.nuanti.com</a>
the browser experts
</pre>
</div>
</blockquote></div>