forked from OSchip/llvm-project
parent
fdaeb0c647
commit
0a1cb71e64
|
@ -1629,7 +1629,7 @@ public:
|
||||||
unsigned Virtuality = SPFlagNonvirtual) {
|
unsigned Virtuality = SPFlagNonvirtual) {
|
||||||
// We're assuming virtuality is the low-order field.
|
// We're assuming virtuality is the low-order field.
|
||||||
static_assert(
|
static_assert(
|
||||||
int(SPFlagVirtual) == int(dwarf::DW_VIRTUALITY_virtual &&
|
int(SPFlagVirtual) == int(dwarf::DW_VIRTUALITY_virtual) &&
|
||||||
int(SPFlagPureVirtual) == int(dwarf::DW_VIRTUALITY_pure_virtual),
|
int(SPFlagPureVirtual) == int(dwarf::DW_VIRTUALITY_pure_virtual),
|
||||||
"Virtuality constant mismatch");
|
"Virtuality constant mismatch");
|
||||||
return static_cast<DISPFlags>((Virtuality & SPFlagVirtuality) |
|
return static_cast<DISPFlags>((Virtuality & SPFlagVirtuality) |
|
||||||
|
|
Loading…
Reference in New Issue