Re: [PATCH] D20773: [Sema] Fix incorrect enum token namespace

2016-05-31 Thread Aaron Ballman via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM! http://reviews.llvm.org/D20773 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D20773: [Sema] Fix incorrect enum token namespace

2016-05-28 Thread Etienne Bergeron via cfe-commits
etienneb created this revision. etienneb added a reviewer: rsmith. etienneb added a subscriber: cfe-commits. This patch fix the scoping of enum literal. They were not resolving to the right type. It was not causing any problem as one is a copy of the other one. The literal in the switch are