Hi Alp,
This patch prevents clang from compiling in VS2010 (which supports
strong enums) - that's because forward declared enums (which are being used
in Diagnostic.h) aren't supported till VS2013.
Below, LLVM_HAS_STRONG_ENUMS is being used to assume support for forward
declared enums:
#if LLVM_HAS_STRONG_ENUMS
namespace tok {
enum TokenKind : unsigned;
}
#endif
See: http://msdn.microsoft.com/en-us/library/vstudio/hh567368.aspx
Thanks!
Faisal Vali
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits