commit | 5c722c7020b33da57090422b854072258a50b3f0 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Feb 18 23:30:37 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Feb 18 23:30:37 2011 +0000 |
tree | 48ef82316f6c7edebee531d1e1fba40da6bec767 | |
parent | 4a4e2efb908b17e79d95b5b4fccf58b4cd1dddb1 [diff] |
When code-completing a case statement for a switch on a value of enumeration type, prioritize the enumeration constants and don't provide completions for any other expressions. Fixes <rdar://problem/7283668>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125991 91177308-0d34-0410-b5e6-96231b3b80d8