Skip to content

Commit 49cc1e9

Browse files
committed
Remove unnecessary "= nullopt" per Vitaly's feedback
1 parent 3930a91 commit 49cc1e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class AArch64AsmPrinter : public AsmPrinter {
118118
void LowerPATCHABLE_EVENT_CALL(const MachineInstr &MI, bool Typed);
119119

120120
typedef std::tuple<unsigned, bool, uint32_t> HwasanMemaccessTuple;
121-
std::optional<uint64_t> HwasanFixedShadowBase = std::nullopt;
121+
std::optional<uint64_t> HwasanFixedShadowBase;
122122
std::map<HwasanMemaccessTuple, MCSymbol *> HwasanMemaccessSymbols;
123123
void LowerKCFI_CHECK(const MachineInstr &MI);
124124
void LowerHWASAN_CHECK_MEMACCESS(const MachineInstr &MI);

0 commit comments

Comments
 (0)