[cfe-commits] r160455 - /cfe/trunk/test/PCH/cxx-typeid.cpp

Aaron Ballman aaron.ballman at gmail.com
Wed Jul 18 15:14:56 PDT 2012


Yeah, I am wondering the same thing now.  Will research more and report back.

Sent from my iPhone

On Jul 18, 2012, at 6:07 PM, Richard Smith <richard at metafoo.co.uk> wrote:

> On Wed, Jul 18, 2012 at 2:56 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> Author: aaronballman
> Date: Wed Jul 18 16:56:43 2012
> New Revision: 160455
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=160455&view=rev
> Log:
> Fixing up a test case that was failing due to the lack of -std=c++11
> 
> What was the failure? This testcase doesn't seem to have anything to do with C++11, and had been unchanged for ~2 years.
>  
> 
> Modified:
>     cfe/trunk/test/PCH/cxx-typeid.cpp
> 
> Modified: cfe/trunk/test/PCH/cxx-typeid.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/cxx-typeid.cpp?rev=160455&r1=160454&r2=160455&view=diff
> ==============================================================================
> --- cfe/trunk/test/PCH/cxx-typeid.cpp (original)
> +++ cfe/trunk/test/PCH/cxx-typeid.cpp Wed Jul 18 16:56:43 2012
> @@ -1,8 +1,8 @@
>  // Test this without pch.
> -// RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -Xclang -verify %s
> +// RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -std=c++11 -Xclang -verify %s
> 
> -// RUN: %clang -ccc-pch-is-pch -x c++-header -o %t.gch %S/cxx-typeid.h
> -// RUN: %clang -ccc-pch-is-pch -include %t -fsyntax-only -Xclang -verify %s
> +// RUN: %clang -ccc-pch-is-pch -std=c++11 -x c++-header -o %t.gch %S/cxx-typeid.h
> +// RUN: %clang -ccc-pch-is-pch -std=c++11 -include %t -fsyntax-only -Xclang -verify %s
> 
>  void f() {
>      (void)typeid(int);
> 
> 
> _______________________________________________
> 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/20120718/4dddf3b4/attachment.html>


More information about the cfe-commits mailing list