]> granicus.if.org Git - clang/commitdiff
cleanup and relax test cases
authorAdrian Prantl <aprantl@apple.com>
Fri, 19 Apr 2013 21:48:07 +0000 (21:48 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 19 Apr 2013 21:48:07 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179896 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/scoped-enums.cpp
test/CodeGenObjC/objc-fixed-enum.m

index d19b3eec2bef774e5c39ea71d4032e63c022f29f..c20faaaf2e96d02f718e89af042753430c7fb4ba 100644 (file)
@@ -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]
 enum struct Colour { grey };
 
 void h(Colour);
index 471068bca1001f11214114d1935077394972dfb3..3f005c9a6df7d998c4ec81695cd1a2b51f6f1d2a 100644 (file)
@@ -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