summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGenCXX/scoped-enums.cpp3
-rw-r--r--test/CodeGenObjC/objc-fixed-enum.m5
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGenCXX/scoped-enums.cpp b/test/CodeGenCXX/scoped-enums.cpp
index d19b3eec2b..c20faaaf2e 100644
--- a/test/CodeGenCXX/scoped-enums.cpp
+++ b/test/CodeGenCXX/scoped-enums.cpp
@@ -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);
diff --git a/test/CodeGenObjC/objc-fixed-enum.m b/test/CodeGenObjC/objc-fixed-enum.m
index 471068bca1..3f005c9a6d 100644
--- a/test/CodeGenObjC/objc-fixed-enum.m
+++ b/test/CodeGenObjC/objc-fixed-enum.m
@@ -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