[cfe-commits] r150240 - /cfe/trunk/test/SemaTemplate/instantiate-complete.cpp

David Blaikie dblaikie at gmail.com
Fri Feb 10 07:53:49 PST 2012


On Fri, Feb 10, 2012 at 1:37 AM, Richard Smith
<richard-llvm at metafoo.co.uk> wrote:
> Author: rsmith
> Date: Fri Feb 10 03:37:07 2012
> New Revision: 150240
>
> URL: http://llvm.org/viewvc/llvm-project?rev=150240&view=rev
> Log:
> --lies.

Worth adding in the negative test case for historical (or just FUD) reasons?

>
> Modified:
>    cfe/trunk/test/SemaTemplate/instantiate-complete.cpp
>
> Modified: cfe/trunk/test/SemaTemplate/instantiate-complete.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/instantiate-complete.cpp?rev=150240&r1=150239&r2=150240&view=diff
> ==============================================================================
> --- cfe/trunk/test/SemaTemplate/instantiate-complete.cpp (original)
> +++ cfe/trunk/test/SemaTemplate/instantiate-complete.cpp Fri Feb 10 03:37:07 2012
> @@ -28,7 +28,6 @@
>  void test_arith(X<signed char> *ptr1, X<unsigned char> *ptr2,
>                 X<char(char)> *ptr3, X<short(short)> *ptr4) {
>   (void)(ptr1 + 5);
> -  // FIXME: if I drop the ')' after void, below, it still parses (!)
>   (void)(5 + ptr2);
>   (void)(ptr3 + 5); // expected-note{{in instantiation of template class 'X<char (char)>' requested here}}
>   (void)(5 + ptr4); // expected-note{{in instantiation of template class 'X<short (short)>' requested here}}
> @@ -145,4 +144,3 @@
>     BaseT<int> bt(ft);
>   }
>  }
> -
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list