Douglas Gregor
7b316825d4
When determining the availability of an enum constant, also consider
...
the availability of the enumeration type itself. Fixes
<rdar://problem/10996386>.
llvm-svn: 152977
2012-03-17 06:39:06 +00:00
Douglas Gregor
3a69eafa88
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>.
llvm-svn: 125991
2011-02-18 23:30:37 +00:00
Douglas Gregor
cf04b02d1d
Extend the type printing policy to allow one to turn off the printing
...
of file locations for anonymous tag types (e.g., "enum <anonymous at
t.h:15:6>"), which can get rather long.
llvm-svn: 100470
2010-04-05 21:25:31 +00:00