mirror of
https://github.com/intel/llvm.git
synced 2026-02-01 08:56:15 +08:00
Fix some -Wreorder issues.
llvm-svn: 305497
This commit is contained in:
@@ -33,7 +33,7 @@ namespace pdb {
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,6 @@ public:
|
||||
private:
|
||||
std::string typeIndex(codeview::TypeIndex TI) const;
|
||||
|
||||
uint32_t Width;
|
||||
LinePrinter &P;
|
||||
bool RecordBytes = false;
|
||||
codeview::LazyRandomTypeCollection &Types;
|
||||
|
||||
@@ -45,8 +45,8 @@ public:
|
||||
private:
|
||||
StringRef getTypeName(codeview::TypeIndex TI) const;
|
||||
|
||||
uint32_t Width;
|
||||
LinePrinter &P;
|
||||
uint32_t Width;
|
||||
bool RecordBytes = false;
|
||||
codeview::LazyRandomTypeCollection &Types;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user