mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
b9c28bc7f1
This will now display enum definitions both at the global scope as well as nested inside of classes. Additionally, it will no longer display enums at the global scope if the enum is nested. Instead, it will omit the definition of the enum globally and instead emit it in the corresponding class definition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231215 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
673 B
Plaintext
21 lines
673 B
Plaintext
; RUN: llvm-pdbdump -types %p/Inputs/ClassLayoutTest.pdb > %t
|
|
; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBAL_ENUM
|
|
; RUN: FileCheck -input-file=%t %s -check-prefix=MEMBER_ENUM
|
|
|
|
; GLOBAL_ENUM: ---TYPES---
|
|
; GLOBAL_ENUM: Enums:
|
|
; GLOBAL_ENUM: enum GlobalsTest::Enum {
|
|
; GLOBAL_ENUM-NEXT: Val1 = 0
|
|
; GLOBAL_ENUM-NEXT: }
|
|
|
|
; MEMBER_ENUM: ---TYPES---
|
|
; MEMBER_ENUM: Classes:
|
|
; MEMBER_ENUM: struct __vc_attributes::threadingAttribute {
|
|
; MEMBER_ENUM-NEXT: enum threading_e {
|
|
; MEMBER_ENUM-NEXT: apartment = 1
|
|
; MEMBER_ENUM-NEXT: single = 2
|
|
; MEMBER_ENUM-NEXT: free = 3
|
|
; MEMBER_ENUM-NEXT: neutral = 4
|
|
; MEMBER_ENUM-NEXT: both = 5
|
|
; MEMBER_ENUM-NEXT: }
|