r179896 - cleanup and relax test cases

David Blaikie dblaikie at gmail.com
Sun Apr 21 15:30:00 PDT 2013


On Apr 20, 2013 7:51 AM, "Adrian Prantl" <aprantl at apple.com> wrote:
>
> Author: adrian
> Date: Fri Apr 19 16:48:07 2013
> New Revision: 179896
>
> URL: http://llvm.org/viewvc/llvm-project?rev=179896&view=rev
> Log:
> cleanup and relax test cases
>
> Modified:
>     cfe/trunk/test/CodeGenCXX/scoped-enums.cpp
>     cfe/trunk/test/CodeGenObjC/objc-fixed-enum.m
>
> Modified: cfe/trunk/test/CodeGenCXX/scoped-enums.cpp
> URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/scoped-enums.cpp?rev=179896&r1=179895&r2=179896&view=diff
>
==============================================================================
> --- cfe/trunk/test/CodeGenCXX/scoped-enums.cpp (original)
> +++ cfe/trunk/test/CodeGenCXX/scoped-enums.cpp Fri Apr 19 16:48:07 2013
> @@ -1,4 +1,4 @@
> -// RUN: %clang_cc1 -std=c++11 -emit-llvm -g -o - %s
> +// RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s
>
>  // PR9923
>  enum class Color { red, blue, green };
> @@ -9,7 +9,6 @@ void g() {
>  }
>
>  // See that struct is handled equally.
> -// CHECK: [ DW_TAG_enumeration_type ] [Colour]

I'm assuming you removed this because it's tested elsewhere? Where is that?

>  enum struct Colour { grey };
>
>  void h(Colour);
>
> Modified: cfe/trunk/test/CodeGenObjC/objc-fixed-enum.m
> URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/objc-fixed-enum.m?rev=179896&r1=179895&r2=179896&view=diff
>
==============================================================================
> --- cfe/trunk/test/CodeGenObjC/objc-fixed-enum.m (original)
> +++ cfe/trunk/test/CodeGenObjC/objc-fixed-enum.m Fri Apr 19 16:48:07 2013
> @@ -1,7 +1,8 @@
> -// RUN: %clang_cc1 -triple armv7-apple-darwin10 -g -emit-llvm -Werror -o
- %s | FileCheck %s
> +// RUN: %clang_cc1 -triple armv7-apple-darwin10 -g -emit-llvm -o - %s |
FileCheck %s
>
>  // The DWARF standard says the underlying data type of an enum may be
> -// stored in an DW_AT_type() entry in the enum DIE.
> +// stored in an DW_AT_type entry in the enum DIE. This is useful to have
> +// so the debugger knows about the signedness of the underlying type.
>
>  typedef long NSInteger;
>  #define NS_ENUM(_type, _name) enum _name : _type _name; enum _name :
_type
>
>
> _______________________________________________
> 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/20130421/60bacd81/attachment.html>


More information about the cfe-commits mailing list