r195080 - Disable this check temporarily.

Manuel Klimek klimek at google.com
Tue Nov 19 01:04:38 PST 2013


On Tue, Nov 19, 2013 at 3:25 AM, Bill Wendling <isanbard at gmail.com> wrote:

> Author: void
> Date: Mon Nov 18 20:25:28 2013
> New Revision: 195080
>
> URL: http://llvm.org/viewvc/llvm-project?rev=195080&view=rev
> Log:
> Disable this check temporarily.
>
> This is failing for me. When I run the command on my own, I get this:
>
> Error reading
> /usr/local/google/home/morbo/llvm/llvm.obj/tools/clang/test/Format/Output/.clang-format:
> Invalid argument
> void f() {
>   int* i;
>   int j;
> }
>
> The formatting is like this because I have the Google format version in my
> ~/.clang-format file. This test should be made independent of that.
>

That should already be independent, as there's a
cfe/trunk/test/.clang-format file checked in, which clang-format should
find (exactly for that reason). So you're saying that file exists, but
clang-format still picks up the one from your home dir?


>
> Modified:
>     cfe/trunk/test/Format/style-on-command-line.cpp
>
> Modified: cfe/trunk/test/Format/style-on-command-line.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Format/style-on-command-line.cpp?rev=195080&r1=195079&r2=195080&view=diff
>
> ==============================================================================
> --- cfe/trunk/test/Format/style-on-command-line.cpp (original)
> +++ cfe/trunk/test/Format/style-on-command-line.cpp Mon Nov 18 20:25:28
> 2013
> @@ -22,7 +22,7 @@ void f() {
>  // CHECK4: {{^  int \*i;$}}
>  // CHECK5: {{^     int\* i;$}}
>  // CHECK6: {{^Error reading .*\.clang-format: Invalid argument}}
> -// CHECK6: {{^  int \*i;$}}
> +// XCHECK6X: {{^  int \*i;$}}
>  // CHECK7: {{^      int\* i;$}}
>  int*i;
>  int j;
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131119/2e035f9a/attachment.html>


More information about the cfe-commits mailing list