Modify TypePrinter to differentiate between anonymous struct and unnamed struct

Currently TypePrinter lumps anonymous classes and unnamed classes in one group "anonymous" this is not correct and can be confusing in some contexts.

Differential Revision: https://reviews.llvm.org/D96807

GitOrigin-RevId: ecb90b55454ee94733481247486729a504aa43a1
diff --git a/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp b/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp
index fd223a5..bede0ea 100644
--- a/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp
+++ b/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp
@@ -18,5 +18,5 @@
 
 // CHECK: A::(anonymous struct)
 // CHECK: |-DefinitionData is_anonymous pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal
-// CHECK: A::(anonymous struct)
+// CHECK: A::(unnamed struct)
 // CHECK: |-DefinitionData pass_in_registers aggregate standard_layout trivially_copyable pod trivial literal
diff --git a/test/Shell/SymbolFile/DWARF/debug-types-missing-signature.test b/test/Shell/SymbolFile/DWARF/debug-types-missing-signature.test
index 8f2ef71..8dddea0 100644
--- a/test/Shell/SymbolFile/DWARF/debug-types-missing-signature.test
+++ b/test/Shell/SymbolFile/DWARF/debug-types-missing-signature.test
@@ -21,6 +21,6 @@
 PRINTEC: use of undeclared identifier 'EC'
 
 RUN: %lldb %t -b -o "target variable a e ec" | FileCheck --check-prefix=VARS %s
-VARS: (const (anonymous struct)) a = {}
+VARS: (const (unnamed struct)) a = {}
 VARS: (const (anonymous enum)) e = 0x1
 VARS: (const (anonymous enum)) ec = 0x1