Patch to get llvm compiling with the Intel 11.0.066 compiler

I've been trying to get llvm to compile under windows with the Intel C++ 11.0.066 compiler without killing the compiler.

I filed a bug report with Intel, and Intel says that their compiler has a problem with RecTy and Init being declared with "class" in utils\TableGen\TGParser.h but defined with "struct" in utils\TableGen\Record.h.

The attached patch changes TGParser.h to use struct.

intel-patch.diff (386 Bytes)

Applied, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090119/072516.html

-Chris