diff options
author | Logan Smith <logan.r.smith0@gmail.com> | 2020-07-16 20:36:46 -0700 |
---|---|---|
committer | Logan Smith <logan.r.smith0@gmail.com> | 2020-07-17 17:35:59 -0700 |
commit | 31eb83496fb4e41e322e19f162aeae885ed91301 (patch) | |
tree | 7555381c94c972c3e0822ab7c747cb6185166ec8 /llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp | |
parent | 1bbed69059d5ac35c0775e8ed598a34628d8ba6d (diff) | |
download | llvm-31eb83496fb4e41e322e19f162aeae885ed91301.zip llvm-31eb83496fb4e41e322e19f162aeae885ed91301.tar.gz llvm-31eb83496fb4e41e322e19f162aeae885ed91301.tar.bz2 |
[llvm][NFC] Add missing 'override's in unittests/
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp index f4ea34d..26fb8e8 100644 --- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp @@ -126,7 +126,7 @@ struct DebugLineBasicFixture : public Test, public CommonFixture {}; struct DebugLineParameterisedFixture : public TestWithParam<std::pair<uint16_t, DwarfFormat>>, public CommonFixture { - void SetUp() { std::tie(Version, Format) = GetParam(); } + void SetUp() override { std::tie(Version, Format) = GetParam(); } uint16_t Version; DwarfFormat Format; @@ -328,7 +328,7 @@ TEST_F(DebugLineBasicFixture, ErrorForReservedLength) { struct DebugLineUnsupportedVersionFixture : public TestWithParam<uint16_t>, public CommonFixture { - void SetUp() { Version = GetParam(); } + void SetUp() override { Version = GetParam(); } uint16_t Version; }; @@ -1384,7 +1384,7 @@ struct TruncatedPrologueFixture : public TestWithParam< std::tuple<uint64_t, uint64_t, uint16_t, DwarfFormat, StringRef>>, public CommonFixture { - void SetUp() { + void SetUp() override { std::tie(Length, ExpectedOffset, Version, Format, ExpectedErr) = GetParam(); } @@ -1554,7 +1554,7 @@ struct TruncatedStandardOpcodeFixture : public TestWithParam< std::tuple<uint64_t, uint8_t, ValueAndLengths, StringRef, StringRef>>, public TruncatedOpcodeFixtureBase { - void SetUp() { + void SetUp() override { std::tie(BodyLength, Opcode, Operands, ExpectedOutput, ExpectedErr) = GetParam(); } @@ -1564,7 +1564,7 @@ struct TruncatedExtendedOpcodeFixture : public TestWithParam<std::tuple<uint64_t, uint64_t, uint8_t, ValueAndLengths, StringRef, StringRef>>, public TruncatedOpcodeFixtureBase { - void SetUp() { + void SetUp() override { std::tie(BodyLength, OpcodeLength, Opcode, Operands, ExpectedOutput, ExpectedErr) = GetParam(); } |