git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305497
91177308-0d34-0410-b5e6-
96231b3b80d8
template <typename T> static std::string formatUnknownEnum(T Value) {
return formatv("unknown ({0})",
- static_cast<std::underlying_type<T>::type>(Value))
+ static_cast<typename std::underlying_type<T>::type>(Value))
.str();
}
private:
std::string typeIndex(codeview::TypeIndex TI) const;
- uint32_t Width;
LinePrinter &P;
bool RecordBytes = false;
codeview::LazyRandomTypeCollection &Types;
private:
StringRef getTypeName(codeview::TypeIndex TI) const;
- uint32_t Width;
LinePrinter &P;
+ uint32_t Width;
bool RecordBytes = false;
codeview::LazyRandomTypeCollection &Types;
};