When pretty-printing tag types, only print the tag if we're in C (and
therefore not creating ElaboratedTypes, which are still pretty-printed
with the written tag).
Most of these testcase changes were done by script, so don't feel too
sorry for my fingers.
llvm-svn: 98149
diff --git a/clang/test/SemaCXX/conversion-delete-expr.cpp b/clang/test/SemaCXX/conversion-delete-expr.cpp
index 2338778..862ae5a 100644
--- a/clang/test/SemaCXX/conversion-delete-expr.cpp
+++ b/clang/test/SemaCXX/conversion-delete-expr.cpp
@@ -11,7 +11,7 @@
void f (D d)
{
- delete d; // expected-error {{ambiguous conversion of delete expression of type 'struct D' to a pointer}}
+ delete d; // expected-error {{ambiguous conversion of delete expression of type 'D' to a pointer}}
}
// Test2
@@ -39,7 +39,7 @@
void f2 (D2 d)
{
- delete d; // expected-error {{ambiguous conversion of delete expression of type 'struct D2' to a pointer}}
+ delete d; // expected-error {{ambiguous conversion of delete expression of type 'D2' to a pointer}}
}
// Test4
@@ -56,7 +56,7 @@
void f3 (D3 d)
{
- delete d; // expected-error {{mbiguous conversion of delete expression of type 'struct D3' to a pointer}}
+ delete d; // expected-error {{ambiguous conversion of delete expression of type 'D3' to a pointer}}
}
// Test5