1
0
mirror of synced 2025-02-17 18:59:21 +01:00

pattern: Added [[no_unique_address]]attribute

This commit is contained in:
WerWolv 2022-01-22 15:27:08 +01:00
parent d69eb440d8
commit 10df0175d5

View File

@ -693,6 +693,8 @@ namespace hex::pl {
pattern->setComment(*value);
} else if (name == "hidden" && noValue()) {
pattern->setHidden(true);
} else if (name == "no_unique_address" && noValue()) {
endOffset -= pattern->getSize();
} else if (name == "inline" && noValue()) {
auto inlinable = dynamic_cast<Inlinable*>(pattern);