[llvm-commits] [llvm] r78097 - in /llvm/trunk: include/llvm/LLVMContext.h lib/VMCore/Constants.cpp lib/VMCore/LLVMContextImpl.cpp lib/VMCore/LLVMContextImpl.h

Chris Lattner clattner at apple.com
Tue Aug 4 21:11:18 PDT 2009


On Aug 4, 2009, at 9:08 PM, Owen Anderson wrote:

> On Aug 4, 2009, at 8:54 PM, Chris Lattner wrote:
>> Fine, its implementation is private to vmcore, right?  Since it has  
>> to be forward declared in various headers, why not use class?
>
> Because MSVC is unhappy if you mix class/struct for the same type.

I mean "why not use class consistently everywhere".  If LLVMContext is  
an internal implementation detail of VMCore, it is unfortunate that  
the tagtype has to be exposed at all.  You didn't answer the first q.

-Chris



More information about the llvm-commits mailing list