]> granicus.if.org Git - clang/commit
When determining the availability of an enum constant, also consider
authorDouglas Gregor <dgregor@apple.com>
Sat, 17 Mar 2012 06:39:06 +0000 (06:39 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 17 Mar 2012 06:39:06 +0000 (06:39 +0000)
commit8e42f2782338666ec67eab2e709e18b92060eeba
tree93ef6fe886227fdf3b8724a7eaefd9b4c1b58a2c
parent74b7b2b42dd710ccea78d86a47c979d4b2af7093
When determining the availability of an enum constant, also consider
the availability of the enumeration type itself. Fixes
<rdar://problem/10996386>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152977 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/CodeCompleteConsumer.cpp
test/Index/complete-enums.c