summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/scoped-enums-debug-info.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-29 16:40:08 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-29 16:40:08 +0000
commit9dd4e4e63a53813ba519281ec5c35e678b837d5d (patch)
tree9abf46c1f266ce303f8037a93dadb1bee9685258 /clang/test/CodeGenCXX/scoped-enums-debug-info.cpp
parenta9308c49ef421d5fa6c990bc8cbdf500acbffd33 (diff)
downloadbcm5719-llvm-9dd4e4e63a53813ba519281ec5c35e678b837d5d.tar.gz
bcm5719-llvm-9dd4e4e63a53813ba519281ec5c35e678b837d5d.zip
DebugInfo: Metadata constructs now start with DI*
LLVM r236120 renamed debug info IR constructs to use a `DI` prefix, now that the `DIDescriptor` hierarchy has been gone for about a week. This commit was generated using the rename-md-di-nodes.sh upgrade script attached to PR23080, followed by running clang-format-diff.py on the `lib/` portion of the patch. llvm-svn: 236121
Diffstat (limited to 'clang/test/CodeGenCXX/scoped-enums-debug-info.cpp')
-rw-r--r--clang/test/CodeGenCXX/scoped-enums-debug-info.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CodeGenCXX/scoped-enums-debug-info.cpp b/clang/test/CodeGenCXX/scoped-enums-debug-info.cpp
index 18f427802b7..52658fc28d7 100644
--- a/clang/test/CodeGenCXX/scoped-enums-debug-info.cpp
+++ b/clang/test/CodeGenCXX/scoped-enums-debug-info.cpp
@@ -1,9 +1,9 @@
// RUN: %clang_cc1 -std=c++11 -emit-llvm -g -o - %s | FileCheck %s
// Test that we are emitting debug info and base types for scoped enums.
-// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "Color"
+// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "Color"
// CHECK-SAME: baseType: ![[INT:[0-9]+]]
-// CHECK: ![[INT]] = !MDBasicType(name: "int"
+// CHECK: ![[INT]] = !DIBasicType(name: "int"
enum class Color { gray };
void f(Color);
@@ -11,7 +11,7 @@ void g() {
f(Color::gray);
}
-// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "Colour"
+// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "Colour"
// CHECK-SAME: baseType: ![[INT]]
enum struct Colour { grey };
@@ -20,9 +20,9 @@ void i() {
h(Colour::grey);
}
-// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "Couleur"
+// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "Couleur"
// CHECK-SAME: baseType: ![[UCHAR:[0-9]+]]
-// CHECK: ![[UCHAR]] = !MDBasicType(name: "unsigned char"
+// CHECK: ![[UCHAR]] = !DIBasicType(name: "unsigned char"
enum class Couleur : unsigned char { gris };
void j(Couleur);
OpenPOWER on IntegriCloud