HomePhabricator

Change getRedeclContext() to support enumerations as another kind of…

Authored by aaron.ballman on Oct 23 2018, 12:44 PM.

Description

Change getRedeclContext() to support enumerations as another kind of transparent context in C.

This change fixes PR15071 and ensures that enumerators redefined in a struct cannot conflict with enumerators defined outside of the struct.

llvm-svn: 345073

Details

Committed
aaron.ballmanOct 23 2018, 12:44 PM
Parents
rG503154615dac: [HotColdSplitting] Attach MinSize to outlined code
Branches
Unknown
Tags
Unknown