hanchenye-llvm-project/clang/include
Richard Smith 169f219001 Add a special-case diagnostic for one of the more obnoxious special cases of
unscoped enumeration members: an enumerator name which is visible in the
out-of-class definition of a member of a templated class might not actually
exist in the instantiation of that class, if the enumeration is also lexically
defined outside the class definition and is explicitly specialized.

Depending on the result of a CWG discussion, we may have a different resolution
for a class of problems in this area, but this fixes the immediate issue of a
crash-on-invalid / accepts-invalid (depending on +Asserts). Thanks to Johannes
Schaub for digging into the standard wording to find how this case is currently
specified to behave.

llvm-svn: 153461
2012-03-26 20:28:16 +00:00
..
clang Add a special-case diagnostic for one of the more obnoxious special cases of 2012-03-26 20:28:16 +00:00
clang-c [libclang] Enhance clang_getOverriddenCursors. 2012-03-08 00:20:03 +00:00
CMakeLists.txt
Makefile