Remove class/struct DenseMapInfo mix


Visual Studio is complaining about the mix of struct and class.

2>C:\dev\llvm\include\llvm/ADT/ValueMap.h(202) : warning C4099: ‘llvm::DenseMapInfo<llvm::ValueMapCallbackVH<KeyT,ValueT,Config,ValueInfoT>>’ : type name first seen using ‘struct’ now seen using ‘class’
2> C:\dev\llvm\include\llvm/ADT/ValueMap.h(251) : see reference to class template instantiation ‘llvm::ValueMapCallbackVH<KeyT,ValueT,Config,ValueInfoT>’ being compiled

Below you can find a patch which removes the warning.

Marius Wachtler

Index: include/llvm/ADT/ValueMap.h

structclassmix.patch (650 Bytes)

Fixed in r85198.